Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.595/1.595, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.761/2.761, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 60.78 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3658/0.3678, allocations: 159.9 MB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.007525/0.3753, allocations: 5.184 MB / 1.073 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.5446, allocations: 151.1 MB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.5457, allocations: 19.88 kB / 1.221 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001017/0.5468, allocations: 230 kB / 1.221 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.5493, allocations: 0.6056 MB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.5518, allocations: 0.8547 MB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001931/0.5537, allocations: 1.429 MB / 1.224 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001075/0.5548, allocations: 0.6185 MB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.5558, allocations: 0.4944 MB / 1.225 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009081/0.5567, allocations: 0.5172 MB / 1.225 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004102/0.5571, allocations: 124 kB / 1.226 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.5583, allocations: 487.6 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000293/0.5586, allocations: 303 kB / 1.226 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005754/0.5592, allocations: 0.5946 MB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001948/0.5611, allocations: 1.694 MB / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5611, allocations: 0 / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5611, allocations: 0 / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.5612, allocations: 0 / 1.229 GB, free: 5.605 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002464/0.5636, allocations: 1.502 MB / 1.23 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5637, allocations: 12.03 kB / 1.23 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009258/0.5646, allocations: 191.3 kB / 1.23 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5656, allocations: 0.7778 MB / 1.231 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.5657, allocations: 69.94 kB / 1.231 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.5658, allocations: 88 kB / 1.231 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5673, allocations: 0.9379 MB / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5673, allocations: 0 / 1.232 GB, free: 1.898 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-05/0.5674, allocations: 40 kB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.711e-05/0.5674, allocations: 20 kB / 1.232 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.5692, allocations: 1.132 MB / 1.233 GB, free: 0.7109 MB / 0.9825 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.003852/0.573, allocations: 2.798 MB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.5745, allocations: 0.844 MB / 1.237 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005474/0.5751, allocations: 314.7 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/0.5753, allocations: 117.7 kB / 1.237 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008453/0.5761, allocations: 0.5031 MB / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.575e-06/0.5762, allocations: 0 / 1.238 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.00326/0.5794, allocations: 1.244 MB / 1.239 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.173e-05/0.5795, allocations: 192.6 kB / 1.239 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.5803, allocations: 0.6881 MB / 1.24 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.5804, allocations: 41.7 kB / 1.24 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.5807, allocations: 424.3 kB / 1.24 GB, free: 9.309 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.5809, allocations: 264.2 kB / 1.24 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.5811, allocations: 170.4 kB / 1.241 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5813, allocations: 394.7 kB / 1.241 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.5819, allocations: 277.8 kB / 1.241 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.5825, allocations: 379.1 kB / 1.242 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.5837, allocations: 0.6307 MB / 1.242 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.5837, allocations: 4 kB / 1.242 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002/0.5857, allocations: 0.88 MB / 1.243 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.5858, allocations: 11.94 kB / 1.243 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.5858, allocations: 3.984 kB / 1.243 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.5864, allocations: 84.81 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.5871, allocations: 163.8 kB / 1.243 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.5892, allocations: 1.638 MB / 1.245 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000718/0.5899, allocations: 101 kB / 1.245 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-05/0.59, allocations: 39.95 kB / 1.245 GB, free: 4.102 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003882/0.5904, allocations: 283.8 kB / 1.245 GB, free: 3.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.5905, allocations: 90.88 kB / 1.245 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002441/0.593, allocations: 1.101 MB / 1.246 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/0.593, allocations: 20.03 kB / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.593, allocations: 0 / 1.246 GB, free: 2.586 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.593, allocations: 3.984 kB / 1.246 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.5941, allocations: 0.9541 MB / 1.247 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.5941, allocations: 0 / 1.247 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005925/0.5947, allocations: 147.8 kB / 1.248 GB, free: 1.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.5951, allocations: 72.78 kB / 1.248 GB, free: 1.355 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.439e-05/0.5952, allocations: 31.92 kB / 1.248 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5483/1.143, allocations: 1.661 MB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.144, allocations: 1.312 kB / 1.249 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002397/1.146, allocations: 0.9713 MB / 1.25 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004338/1.146, allocations: 284.8 kB / 1.25 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/1.147, allocations: 19.5 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006736/1.147, allocations: 66.59 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.147, allocations: 69.08 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/1.147, allocations: 38.23 kB / 1.251 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006947/1.148, allocations: 492.2 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.148, allocations: 1.281 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001022/1.149, allocations: 330 kB / 1.251 GB, free: 182.6 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001403/1.151, allocations: 0.6063 MB / 1.252 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002552/1.153, allocations: 1.068 MB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.153, allocations: 0.8125 kB / 1.253 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009827/1.154, allocations: 0.534 MB / 1.254 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/1.156, allocations: 337.3 kB / 1.254 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/1.159, allocations: 1.783 MB / 1.256 GB, free: 181.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/1.159, allocations: 1.044 MB / 1.257 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008215/1.16, allocations: 267.1 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/1.16, allocations: 108.5 kB / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of SimCode: time 4.7e-07/1.16, allocations: 0 / 1.257 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.02722/1.187, allocations: 15.82 MB / 1.273 GB, free: 178.2 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)