Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 391.2 MB / 407 MB, free: 10.89 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.001421/0.001421, allocations: 191.4 kB / 499.1 MB, free: 4.699 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.45/1.45, allocations: 222.9 MB / 0.7948 GB, free: 15.9 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.0009326/0.000933, allocations: 99.73 kB / 0.9329 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 51.66 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2681, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.006075/0.2742, allocations: 5.53 MB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1346/0.4089, allocations: 149.1 MB / 1.369 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.4105, allocations: 23.88 kB / 1.369 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0009409/0.4115, allocations: 190.5 kB / 1.369 GB, free: 9.863 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.00222/0.4138, allocations: 0.5286 MB / 1.37 GB, free: 9.336 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002829/0.4166, allocations: 0.9378 MB / 1.371 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.4194, allocations: 1.743 MB / 1.372 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001769/0.4212, allocations: 1.156 MB / 1.374 GB, free: 5.457 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.4223, allocations: 0.6574 MB / 1.374 GB, free: 4.797 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008267/0.4231, allocations: 0.7775 MB / 1.375 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.4233, allocations: 108 kB / 1.375 GB, free: 3.91 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009666/0.4243, allocations: 475.6 kB / 1.376 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.4246, allocations: 374.6 kB / 1.376 GB, free: 3.078 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006367/0.4252, allocations: 0.8002 MB / 1.377 GB, free: 2.273 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.4276, allocations: 2.637 MB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.4276, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.243e-06/0.4277, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.638e-05/0.4277, allocations: 0 / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 396 * Number of variables: 396 Notification: Performance of Generate backend data structure: time 0.003798/0.4315, allocations: 2.046 MB / 1.381 GB, free: 13.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4315, allocations: 15.98 kB / 1.381 GB, free: 13.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005565/0.4371, allocations: 0.8492 MB / 1.382 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/0.4388, allocations: 1.024 MB / 1.383 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.487e-05/0.4389, allocations: 115.1 kB / 1.383 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/0.4391, allocations: 152 kB / 1.383 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004046/0.4432, allocations: 1.943 MB / 1.385 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.4432, allocations: 0 / 1.385 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.4434, allocations: 64 kB / 1.385 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.875e-05/0.4434, allocations: 36 kB / 1.385 GB, free: 9.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005352/0.4488, allocations: 2.357 MB / 1.388 GB, free: 6.867 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00852/0.4573, allocations: 4.982 MB / 1.392 GB, free: 1.809 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.461, allocations: 1.542 MB / 1.394 GB, free: 264 kB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.4629, allocations: 0.7527 MB / 1.395 GB, free: 15.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006266/0.4635, allocations: 486.3 kB / 1.395 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.4657, allocations: 0.9377 MB / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=124): time 2.845e-06/0.4657, allocations: 0 / 1.396 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of matching and sorting (n=124): time 0.006998/0.4727, allocations: 2.359 MB / 1.398 GB, free: 11.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.4729, allocations: 196.9 kB / 1.399 GB, free: 11.36 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.474, allocations: 0.8139 MB / 1.399 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.4741, allocations: 49.7 kB / 1.399 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.4746, allocations: 0.5898 MB / 1.4 GB, free: 9.879 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003421/0.4749, allocations: 417.9 kB / 1.4 GB, free: 9.465 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004221/0.4754, allocations: 238.7 kB / 1.401 GB, free: 9.227 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4755, allocations: 353.9 kB / 1.401 GB, free: 8.875 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001751/0.4773, allocations: 0.6311 MB / 1.402 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.4791, allocations: 0.7539 MB / 1.402 GB, free: 7.465 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.4827, allocations: 1.368 MB / 1.404 GB, free: 6.086 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.4828, allocations: 3.938 kB / 1.404 GB, free: 6.082 MB / 0.9011 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004748/0.4875, allocations: 1.687 MB / 1.405 GB, free: 4.383 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.4876, allocations: 8 kB / 1.405 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.4876, allocations: 0 / 1.405 GB, free: 4.375 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.4882, allocations: 88.81 kB / 1.405 GB, free: 4.285 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.4898, allocations: 315.5 kB / 1.406 GB, free: 3.977 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/0.4917, allocations: 1.535 MB / 1.407 GB, free: 2.305 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4933, allocations: 184.1 kB / 1.407 GB, free: 2.125 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001242/0.4934, allocations: 59.94 kB / 1.407 GB, free: 2.066 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * 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.0006645/0.4941, allocations: 360 kB / 1.408 GB, free: 1.707 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.4943, allocations: 118.6 kB / 1.408 GB, free: 1.59 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00538/0.4997, allocations: 2.028 MB / 1.41 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4997, allocations: 12 kB / 1.41 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.4997, allocations: 0 / 1.41 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4998, allocations: 7.969 kB / 1.41 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00706/0.5068, allocations: 3.767 MB / 1.414 GB, free: 11.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5068, allocations: 4 kB / 1.414 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.5084, allocations: 303.6 kB / 1.414 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005009/0.5089, allocations: 80.78 kB / 1.414 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.509, allocations: 43.89 kB / 1.414 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/0.5107, allocations: 1.551 MB / 1.416 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.5107, allocations: 3.984 kB / 1.416 GB, free: 9.57 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006932/0.5177, allocations: 3.398 MB / 1.419 GB, free: 6.113 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.5183, allocations: 395.1 kB / 1.419 GB, free: 5.707 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001686/0.5184, allocations: 35.98 kB / 1.419 GB, free: 5.672 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/0.5197, allocations: 123.9 kB / 1.419 GB, free: 5.551 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/0.5199, allocations: 93.17 kB / 1.419 GB, free: 5.461 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/0.5201, allocations: 51.95 kB / 1.419 GB, free: 5.41 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007468/0.5208, allocations: 0.5895 MB / 1.42 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.41e-07/0.5208, allocations: 0 / 1.42 GB, free: 4.809 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00127/0.5221, allocations: 470.5 kB / 1.421 GB, free: 4.348 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,pumCon.hys.y,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 3 (weaDat.conTim.tNext,weaDat.conTimMin.tNext,pumCon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (138): * Single equations (assignments): 135 * 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.001401/0.5235, allocations: 0.6337 MB / 1.421 GB, free: 3.887 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00433/0.5279, allocations: 1.665 MB / 1.423 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5279, allocations: 0 / 1.423 GB, free: 2.207 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/0.5302, allocations: 0.9667 MB / 1.424 GB, free: 1.227 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5318, allocations: 303.4 kB / 1.424 GB, free: 0.9414 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4893/1.021, allocations: 4.274 MB / 1.428 GB, free: 201 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/1.022, allocations: 1.248 MB / 1.429 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002595/1.025, allocations: 381.3 kB / 1.43 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005801/1.026, allocations: 153.4 kB / 1.43 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of SimCode: time 1.163e-06/1.026, allocations: 0 / 1.43 GB, free: 200.2 MB / 0.9167 GB Notification: Performance of Templates: time 0.04545/1.071, allocations: 21.12 MB / 1.451 GB, free: 194.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)