Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Obsolete.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.036/2.036, allocations: 391.2 MB / 407 MB, free: 10.87 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.001158/0.001158, allocations: 191.4 kB / 499.1 MB, free: 4.684 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.403/1.403, allocations: 222.9 MB / 0.7948 GB, free: 15.87 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.001127/0.001127, allocations: 106 kB / 0.9329 GB, free: 7.105 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 51.08 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2394, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005246/0.2447, allocations: 4.462 MB / 1.222 GB, free: 112.8 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1213/0.366, allocations: 148.6 MB / 1.368 GB, free: 11.61 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.3668, allocations: 15.94 kB / 1.368 GB, free: 11.59 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0006037/0.3675, allocations: 174.7 kB / 1.368 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001474/0.369, allocations: 458 kB / 1.368 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3706, allocations: 0.699 MB / 1.369 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0009874/0.3716, allocations: 1.148 MB / 1.37 GB, free: 9.129 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007072/0.3723, allocations: 0.6256 MB / 1.371 GB, free: 8.48 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004092/0.3727, allocations: 394.3 kB / 1.371 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004332/0.3732, allocations: 437.8 kB / 1.371 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.3733, allocations: 52 kB / 1.371 GB, free: 7.613 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007772/0.3741, allocations: 423.6 kB / 1.372 GB, free: 7.199 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001932/0.3743, allocations: 223.1 kB / 1.372 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.3746, allocations: 481.1 kB / 1.373 GB, free: 6.508 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.3758, allocations: 1.491 MB / 1.374 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3758, allocations: 0 / 1.374 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.31e-07/0.3759, allocations: 0 / 1.374 GB, free: 5.012 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.3759, allocations: 0 / 1.374 GB, free: 5.012 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 204 * Number of variables: 204 Notification: Performance of Generate backend data structure: time 0.001995/0.3779, allocations: 1.396 MB / 1.375 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.3779, allocations: 11.98 kB / 1.375 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.3787, allocations: 191.4 kB / 1.376 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009304/0.3797, allocations: 0.7389 MB / 1.376 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.3797, allocations: 58 kB / 1.376 GB, free: 2.52 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.371e-05/0.3798, allocations: 80 kB / 1.376 GB, free: 2.441 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3811, allocations: 0.8716 MB / 1.377 GB, free: 1.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.3811, allocations: 7.938 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.3812, allocations: 43.98 kB / 1.377 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3812, allocations: 16 kB / 1.377 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3827, allocations: 1.081 MB / 1.378 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003315/0.3861, allocations: 2.453 MB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3873, allocations: 0.7472 MB / 1.381 GB, free: 13.11 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004585/0.3877, allocations: 286.6 kB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.3879, allocations: 113.8 kB / 1.382 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007582/0.3887, allocations: 447.1 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.905e-06/0.3887, allocations: 4 kB / 1.382 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of matching and sorting (n=73): time 0.002772/0.3915, allocations: 1.116 MB / 1.383 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.437e-05/0.3916, allocations: 196.6 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.3922, allocations: 0.641 MB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.3923, allocations: 41.7 kB / 1.384 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.3926, allocations: 400.3 kB / 1.385 GB, free: 9.766 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.3927, allocations: 236.5 kB / 1.385 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.3929, allocations: 150.5 kB / 1.385 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.3931, allocations: 390.7 kB / 1.385 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004512/0.3935, allocations: 253.9 kB / 1.386 GB, free: 8.738 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.3941, allocations: 335.1 kB / 1.386 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009644/0.395, allocations: 0.5838 MB / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3951, allocations: 0 / 1.387 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001651/0.3967, allocations: 0.798 MB / 1.387 GB, free: 6.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3967, allocations: 8 kB / 1.387 GB, free: 6.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.3968, allocations: 3.984 kB / 1.387 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.3973, allocations: 80.88 kB / 1.387 GB, free: 6.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005554/0.3979, allocations: 155.8 kB / 1.388 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/0.3997, allocations: 1.528 MB / 1.389 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.4002, allocations: 83.39 kB / 1.389 GB, free: 5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.4003, allocations: 35.97 kB / 1.389 GB, free: 4.965 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (84): * Single equations (assignments): 83 * 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.0003443/0.4006, allocations: 263.2 kB / 1.389 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4008, allocations: 78.97 kB / 1.389 GB, free: 4.621 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.4028, allocations: 1.006 MB / 1.39 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4029, allocations: 12 kB / 1.39 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.4029, allocations: 0 / 1.39 GB, free: 3.582 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/0.4029, allocations: 7.969 kB / 1.39 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008483/0.4037, allocations: 0.8761 MB / 1.391 GB, free: 2.648 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4037, allocations: 4 kB / 1.391 GB, free: 2.645 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005198/0.4043, allocations: 143.8 kB / 1.391 GB, free: 2.504 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/0.4048, allocations: 84.77 kB / 1.392 GB, free: 2.418 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.603e-05/0.4048, allocations: 23.98 kB / 1.392 GB, free: 2.395 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001578/0.4064, allocations: 1.555 MB / 1.393 GB, free: 0.6953 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.4064, allocations: 4.031 kB / 1.393 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002529/0.409, allocations: 1.91 MB / 1.395 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003143/0.4093, allocations: 259.8 kB / 1.395 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.4094, allocations: 24.06 kB / 1.395 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004829/0.4099, allocations: 56.88 kB / 1.395 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.41, allocations: 56.92 kB / 1.395 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.868e-05/0.4101, allocations: 35.97 kB / 1.395 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000477/0.4106, allocations: 463 kB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4106, allocations: 0 / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0008047/0.4114, allocations: 299.3 kB / 1.396 GB, free: 13.54 MB / 0.9011 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.001202/0.4126, allocations: 0.6006 MB / 1.397 GB, free: 13.11 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.414, allocations: 0.7842 MB / 1.397 GB, free: 12.32 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.414, allocations: 4 kB / 1.397 GB, free: 12.31 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008012/0.4149, allocations: 0.4886 MB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4159, allocations: 282.3 kB / 1.398 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003879/0.4198, allocations: 2.599 MB / 1.401 GB, free: 8.906 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004975/0.4203, allocations: 1.042 MB / 1.402 GB, free: 7.84 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0007321/0.4211, allocations: 254.2 kB / 1.402 GB, free: 7.586 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000215/0.4213, allocations: 103.4 kB / 1.402 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.4213, allocations: 0 / 1.402 GB, free: 7.484 MB / 0.9011 GB Notification: Performance of Templates: time 0.02056/0.4419, allocations: 14.1 MB / 1.416 GB, free: 9.531 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)