Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") translateModel(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.671/1.671, allocations: 306.1 MB / 321.4 MB, free: 10.73 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 187.2 kB / 393.1 MB, free: 4.059 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 225.7 MB / 0.6743 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008567/0.0008567, allocations: 94.27 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 12 kB / 0.9224 GB, free: 8.648 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5262/0.5266, allocations: 121.3 MB / 1.041 GB, free: 58.21 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData): time 0.1636/0.6903, allocations: 165.6 MB / 1.203 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.7086, allocations: 16.01 MB / 1.218 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001482/0.7101, allocations: 27.81 kB / 1.218 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001331/0.7115, allocations: 353.7 kB / 1.219 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.002642/0.7141, allocations: 0.8492 MB / 1.219 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.7187, allocations: 1.616 MB / 1.221 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.003313/0.722, allocations: 2.627 MB / 1.224 GB, free: 8.121 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.724, allocations: 1.361 MB / 1.225 GB, free: 6.957 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004594/0.7286, allocations: 1.121 MB / 1.226 GB, free: 6 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009733/0.7296, allocations: 0.6695 MB / 1.227 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.7297, allocations: 40 kB / 1.227 GB, free: 5.395 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002972/0.7327, allocations: 1.376 MB / 1.228 GB, free: 4.277 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0003756/0.7331, allocations: 317.7 kB / 1.228 GB, free: 4.035 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006798/0.7338, allocations: 0.6641 MB / 1.229 GB, free: 3.398 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.7368, allocations: 2.52 MB / 1.231 GB, free: 0.8906 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.7368, allocations: 4 kB / 1.231 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7368, allocations: 0 / 1.231 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.816e-05/0.7368, allocations: 0 / 1.231 GB, free: 0.8867 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.002397/0.7392, allocations: 1.576 MB / 1.233 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.7393, allocations: 16.03 kB / 1.233 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.7416, allocations: 405.7 kB / 1.233 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.7429, allocations: 0.9604 MB / 1.234 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.743, allocations: 102.6 kB / 1.234 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.7432, allocations: 128 kB / 1.234 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002296/0.7455, allocations: 1.449 MB / 1.236 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.7455, allocations: 7.984 kB / 1.236 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.7456, allocations: 56 kB / 1.236 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.601e-05/0.7456, allocations: 32 kB / 1.236 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002402/0.7481, allocations: 1.536 MB / 1.237 GB, free: 10.44 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006224/0.7543, allocations: 4.938 MB / 1.242 GB, free: 5.246 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002447/0.7568, allocations: 1.419 MB / 1.244 GB, free: 3.754 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009156/0.7577, allocations: 461 kB / 1.244 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008615/0.7586, allocations: 437.3 kB / 1.245 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.7598, allocations: 0.6217 MB / 1.245 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=98): time 2.846e-06/0.7598, allocations: 0 / 1.245 GB, free: 2.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=98): time 0.003957/0.7638, allocations: 1.536 MB / 1.247 GB, free: 0.5938 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000119/0.7639, allocations: 196.9 kB / 1.247 GB, free: 368 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001159/0.7651, allocations: 0.8426 MB / 1.248 GB, free: 15.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.251e-05/0.7652, allocations: 45.7 kB / 1.248 GB, free: 15.44 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.7656, allocations: 0.5661 MB / 1.248 GB, free: 14.87 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.7659, allocations: 331.2 kB / 1.249 GB, free: 14.54 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.054e-05/0.7659, allocations: 20 kB / 1.249 GB, free: 14.52 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.7661, allocations: 349.9 kB / 1.249 GB, free: 14.17 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.7669, allocations: 365.8 kB / 1.249 GB, free: 13.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009804/0.7679, allocations: 0.5285 MB / 1.25 GB, free: 13.23 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001863/0.7698, allocations: 0.9058 MB / 1.251 GB, free: 12.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7698, allocations: 0 / 1.251 GB, free: 12.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002966/0.7728, allocations: 1.157 MB / 1.252 GB, free: 11.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.7728, allocations: 4 kB / 1.252 GB, free: 11.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7729, allocations: 4 kB / 1.252 GB, free: 11.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007767/0.7736, allocations: 93.06 kB / 1.252 GB, free: 11.02 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7747, allocations: 247.7 kB / 1.252 GB, free: 10.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001938/0.7767, allocations: 1.528 MB / 1.254 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.7778, allocations: 143 kB / 1.254 GB, free: 8.973 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.029e-05/0.7779, allocations: 47.97 kB / 1.254 GB, free: 8.926 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000645/0.7785, allocations: 332.2 kB / 1.254 GB, free: 8.594 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001871/0.7787, allocations: 118.5 kB / 1.254 GB, free: 8.477 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002913/0.7816, allocations: 1.334 MB / 1.256 GB, free: 7.125 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7817, allocations: 12 kB / 1.256 GB, free: 7.113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.7817, allocations: 0 / 1.256 GB, free: 7.113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7817, allocations: 3.984 kB / 1.256 GB, free: 7.109 MB / 0.823 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004305/0.786, allocations: 2.709 MB / 1.258 GB, free: 4.316 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.786, allocations: 0 / 1.258 GB, free: 4.316 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/0.787, allocations: 219.7 kB / 1.258 GB, free: 4.102 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005211/0.7875, allocations: 88.7 kB / 1.259 GB, free: 4.012 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.407e-05/0.7876, allocations: 27.98 kB / 1.259 GB, free: 3.984 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.7894, allocations: 1.563 MB / 1.26 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.7894, allocations: 0 / 1.26 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00237/0.7918, allocations: 1.218 MB / 1.261 GB, free: 1.039 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005688/0.7923, allocations: 351.2 kB / 1.262 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001505/0.7925, allocations: 19.94 kB / 1.262 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008779/0.7934, allocations: 111.5 kB / 1.262 GB, free: 0.5508 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.7936, allocations: 72.84 kB / 1.262 GB, free: 492 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.83e-05/0.7937, allocations: 55.95 kB / 1.262 GB, free: 436 kB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008178/0.7945, allocations: 0.5786 MB / 1.262 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7945, allocations: 0 / 1.262 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001163/0.7957, allocations: 458.9 kB / 1.263 GB, free: 15.39 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001684/0.7974, allocations: 0.7927 MB / 1.264 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.7996, allocations: 1.066 MB / 1.265 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.7996, allocations: 0 / 1.265 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001164/0.8008, allocations: 0.6368 MB / 1.265 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.8031, allocations: 473.3 kB / 1.266 GB, free: 12.58 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.8084, allocations: 2.981 MB / 1.269 GB, free: 9.578 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008819/0.8093, allocations: 1.183 MB / 1.27 GB, free: 8.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001612/0.8109, allocations: 369.2 kB / 1.27 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.8113, allocations: 139.4 kB / 1.27 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of SimCode: time 9.72e-07/0.8114, allocations: 0 / 1.27 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of Templates: time 0.03998/0.8513, allocations: 21.92 MB / 1.292 GB, free: 2.195 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.MassFlowSource_WeatherData.pipe 2>&1)