Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.104/2.104, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 187.5 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 222.9 MB / 0.7948 GB, free: 15.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.6 kB / 0.9329 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001252, allocations: 51.3 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2746, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1585/0.4332, allocations: 172.6 MB / 1.387 GB, free: 8.004 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.02116/0.4544, allocations: 15.5 MB / 1.402 GB, free: 8.461 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001389/0.4558, allocations: 31.81 kB / 1.402 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.4577, allocations: 0.4894 MB / 1.402 GB, free: 7.938 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.004245/0.462, allocations: 1.314 MB / 1.404 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.004047/0.4661, allocations: 1.453 MB / 1.405 GB, free: 5.18 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.003693/0.4698, allocations: 3.083 MB / 1.408 GB, free: 2.086 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002791/0.4726, allocations: 1.68 MB / 1.41 GB, free: 364 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.478, allocations: 1.171 MB / 1.411 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.4801, allocations: 0.9529 MB / 1.412 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0006136/0.4808, allocations: 100 kB / 1.412 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.484, allocations: 1.403 MB / 1.413 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.000759/0.4848, allocations: 470.3 kB / 1.414 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.4864, allocations: 0.8702 MB / 1.415 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.004474/0.4909, allocations: 2.765 MB / 1.417 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4909, allocations: 0 / 1.417 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4909, allocations: 0 / 1.417 GB, free: 8.637 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.635e-05/0.491, allocations: 0 / 1.417 GB, free: 8.637 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 397 * Number of variables: 397 Notification: Performance of Generate backend data structure: time 0.005125/0.4961, allocations: 2.181 MB / 1.419 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4962, allocations: 15.98 kB / 1.419 GB, free: 6.379 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.4995, allocations: 453.3 kB / 1.42 GB, free: 5.934 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.5015, allocations: 1.062 MB / 1.421 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.5016, allocations: 115.1 kB / 1.421 GB, free: 4.715 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002019/0.5018, allocations: 156 kB / 1.421 GB, free: 4.562 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.5048, allocations: 1.714 MB / 1.423 GB, free: 2.77 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.5048, allocations: 3.906 kB / 1.423 GB, free: 2.766 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.505, allocations: 72 kB / 1.423 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.5051, allocations: 47.98 kB / 1.423 GB, free: 2.648 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.5081, allocations: 1.725 MB / 1.425 GB, free: 0.918 MB / 0.9167 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.4759/0.984, allocations: 5.706 MB / 1.43 GB, free: 202.9 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.9868, allocations: 1.465 MB / 1.432 GB, free: 202.2 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.9879, allocations: 0.537 MB / 1.432 GB, free: 202 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000861/0.9888, allocations: 0.8884 MB / 1.433 GB, free: 201 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001599/0.9904, allocations: 0.7216 MB / 1.434 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=117): time 4.729e-06/0.9904, allocations: 0 / 1.434 GB, free: 200.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=117): time 0.004771/0.9952, allocations: 1.77 MB / 1.435 GB, free: 200 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.309e-05/0.9953, allocations: 194.6 kB / 1.436 GB, free: 199.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.9968, allocations: 0.9397 MB / 1.436 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.9969, allocations: 50.39 kB / 1.437 GB, free: 199.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000471/0.9974, allocations: 0.6359 MB / 1.437 GB, free: 198.9 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002833/0.9977, allocations: 392.5 kB / 1.438 GB, free: 198.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.9981, allocations: 217.1 kB / 1.438 GB, free: 198.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.388e-05/0.9981, allocations: 348.1 kB / 1.438 GB, free: 198.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008635/0.999, allocations: 416.1 kB / 1.438 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009707/1, allocations: 0.5721 MB / 1.439 GB, free: 197.8 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/1.002, allocations: 0.9823 MB / 1.44 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/1.002, allocations: 0.9688 kB / 1.44 GB, free: 197.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002831/1.005, allocations: 1.27 MB / 1.441 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/1.005, allocations: 7.938 kB / 1.441 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/1.005, allocations: 1.906 kB / 1.441 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/1.005, allocations: 84.72 kB / 1.441 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.006, allocations: 280.1 kB / 1.442 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001713/1.008, allocations: 1.537 MB / 1.443 GB, free: 195.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/1.009, allocations: 144 kB / 1.443 GB, free: 195.3 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/1.01, allocations: 50.17 kB / 1.443 GB, free: 195.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (132): * Single equations (assignments): 131 * 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.0007249/1.01, allocations: 371.6 kB / 1.444 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003092/1.011, allocations: 132.2 kB / 1.444 GB, free: 195 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/1.014, allocations: 1.502 MB / 1.445 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.399e-05/1.014, allocations: 16.94 kB / 1.445 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.014, allocations: 5.891 kB / 1.445 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.014, allocations: 6 kB / 1.445 GB, free: 194.4 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/1.019, allocations: 2.975 MB / 1.448 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.019, allocations: 1.062 kB / 1.448 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.021, allocations: 261.5 kB / 1.448 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005312/1.021, allocations: 87.98 kB / 1.448 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.832e-05/1.021, allocations: 33.95 kB / 1.449 GB, free: 193 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/1.023, allocations: 1.564 MB / 1.45 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.023, allocations: 0 / 1.45 GB, free: 191.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009823/1.033, allocations: 5.424 MB / 1.455 GB, free: 188.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/1.034, allocations: 383.1 kB / 1.456 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001893/1.034, allocations: 26.12 kB / 1.456 GB, free: 188.3 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/1.035, allocations: 109.6 kB / 1.456 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/1.035, allocations: 83.2 kB / 1.456 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/1.035, allocations: 56.27 kB / 1.456 GB, free: 188.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0009745/1.036, allocations: 0.653 MB / 1.457 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of sort global known variables: time 4.11e-07/1.036, allocations: 0 / 1.457 GB, free: 187.9 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001928/1.038, allocations: 0.6258 MB / 1.457 GB, free: 187.8 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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.001728/1.04, allocations: 0.7784 MB / 1.458 GB, free: 187.6 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00245/1.042, allocations: 1.208 MB / 1.459 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/1.042, allocations: 4.281 kB / 1.459 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/1.044, allocations: 0.7153 MB / 1.46 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.046, allocations: 0.5112 MB / 1.46 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006518/1.053, allocations: 4.208 MB / 1.464 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005887/1.053, allocations: 1.314 MB / 1.466 GB, free: 182 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001784/1.055, allocations: 434.1 kB / 1.466 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000413/1.056, allocations: 143.4 kB / 1.466 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of SimCode: time 1.032e-06/1.056, allocations: 0 / 1.466 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of Templates: time 0.03289/1.089, allocations: 25.92 MB / 1.492 GB, free: 155.8 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)