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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 195.5 kB / 16.14 MB, free: 6.688 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.877/2.877, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 60 kB / 0.9114 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4009, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.01433/0.4153, allocations: 5.189 MB / 1.073 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.2342/0.6496, allocations: 148.7 MB / 1.218 GB, free: 352 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.6509, allocations: 19.88 kB / 1.218 GB, free: 332 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.6521, allocations: 182.7 kB / 1.218 GB, free: 148 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002802/0.655, allocations: 0.528 MB / 1.219 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.6575, allocations: 0.7458 MB / 1.219 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002189/0.6597, allocations: 1.339 MB / 1.221 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.6611, allocations: 0.591 MB / 1.221 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.662, allocations: 438.2 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009447/0.663, allocations: 0.4976 MB / 1.222 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.6633, allocations: 56 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001241/0.6646, allocations: 427.6 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002998/0.6649, allocations: 243 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006628/0.6656, allocations: 0.5244 MB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.6675, allocations: 1.639 MB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.6675, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6675, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.681e-05/0.6676, allocations: 0 / 1.225 GB, free: 9.105 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.002836/0.6704, allocations: 1.504 MB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.6705, allocations: 12.03 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000979/0.6715, allocations: 191.3 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.6727, allocations: 0.7817 MB / 1.227 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.097e-05/0.6728, allocations: 62 kB / 1.227 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/0.6729, allocations: 84 kB / 1.227 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.6746, allocations: 0.9456 MB / 1.228 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/0.6747, allocations: 3.938 kB / 1.228 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-05/0.6748, allocations: 39.98 kB / 1.228 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.6748, allocations: 20 kB / 1.228 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001851/0.6766, allocations: 1.128 MB / 1.229 GB, free: 4.207 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.004548/0.6812, allocations: 2.81 MB / 1.232 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.6828, allocations: 0.8363 MB / 1.233 GB, free: 444 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.6833, allocations: 314.6 kB / 1.233 GB, free: 128 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.6836, allocations: 113.8 kB / 1.233 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.6846, allocations: 0.5069 MB / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.6846, allocations: 0 / 1.234 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003399/0.688, allocations: 1.248 MB / 1.235 GB, free: 14.19 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.6881, allocations: 192.6 kB / 1.235 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009883/0.6891, allocations: 0.6842 MB / 1.236 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.6892, allocations: 45.7 kB / 1.236 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003599/0.6896, allocations: 424.4 kB / 1.236 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.6898, allocations: 264.2 kB / 1.237 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002631/0.6901, allocations: 170.4 kB / 1.237 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.6903, allocations: 390.7 kB / 1.237 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005958/0.6909, allocations: 277.9 kB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006694/0.6916, allocations: 379.1 kB / 1.238 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.6928, allocations: 0.6385 MB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6928, allocations: 0 / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002093/0.6949, allocations: 0.8838 MB / 1.239 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.6949, allocations: 11.94 kB / 1.239 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6949, allocations: 3.984 kB / 1.239 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.6955, allocations: 84.86 kB / 1.239 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006877/0.6962, allocations: 163.8 kB / 1.24 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.6983, allocations: 1.54 MB / 1.241 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008308/0.6992, allocations: 99.38 kB / 1.241 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.343e-05/0.6992, allocations: 31.98 kB / 1.241 GB, free: 7.703 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.0005474/0.6998, allocations: 287.6 kB / 1.242 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/0.7, allocations: 82.97 kB / 1.242 GB, free: 7.328 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002481/0.7025, allocations: 1.101 MB / 1.243 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.7025, allocations: 12 kB / 1.243 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.7025, allocations: 3.984 kB / 1.243 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.7025, allocations: 11.86 kB / 1.243 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00118/0.7037, allocations: 0.9425 MB / 1.244 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.7037, allocations: 0 / 1.244 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006068/0.7043, allocations: 151.8 kB / 1.244 GB, free: 5.039 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005147/0.7048, allocations: 84.7 kB / 1.244 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.8e-05/0.7049, allocations: 27.98 kB / 1.244 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.7068, allocations: 1.571 MB / 1.245 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7068, allocations: 0 / 1.245 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002058/0.7089, allocations: 0.9629 MB / 1.246 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004152/0.7093, allocations: 287.6 kB / 1.247 GB, free: 1.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001252/0.7095, allocations: 24 kB / 1.247 GB, free: 1.91 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006408/0.7101, allocations: 63.92 kB / 1.247 GB, free: 1.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.7103, allocations: 68.91 kB / 1.247 GB, free: 1.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.7103, allocations: 35.97 kB / 1.247 GB, free: 1.746 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006338/0.711, allocations: 487 kB / 1.247 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.711, allocations: 4 kB / 1.247 GB, free: 1.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0009109/0.7119, allocations: 339.2 kB / 1.248 GB, free: 0.9375 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.001397/0.7133, allocations: 0.6091 MB / 1.248 GB, free: 0.5039 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.4925/1.206, allocations: 0.8548 MB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/1.206, allocations: 1.375 kB / 1.249 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/1.207, allocations: 0.5347 MB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.209, allocations: 285.7 kB / 1.25 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/1.212, allocations: 2.205 MB / 1.252 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005661/1.213, allocations: 1.045 MB / 1.253 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0009576/1.213, allocations: 271 kB / 1.253 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/1.214, allocations: 110.2 kB / 1.253 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.214, allocations: 0.5625 kB / 1.253 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.028/1.242, allocations: 15.14 MB / 1.268 GB, free: 179.7 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)