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.001062/0.001062, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008432/0.008432, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.456/1.456, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 473.4 MB / 0.7469 GB, free: 6.102 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003479/0.000348, allocations: 20.39 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3162, allocations: 162.2 MB / 1.074 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005595/0.3219, allocations: 4.757 MB / 1.079 GB, free: 2.766 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1558/0.4777, allocations: 147.1 MB / 1.222 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007455/0.4785, allocations: 19.94 kB / 1.222 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006179/0.4791, allocations: 182.7 kB / 1.223 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001702/0.4808, allocations: 0.5241 MB / 1.223 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4826, allocations: 0.7373 MB / 1.224 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.4839, allocations: 1.343 MB / 1.225 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000799/0.4847, allocations: 0.5832 MB / 1.226 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.4852, allocations: 362.2 kB / 1.226 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004768/0.4857, allocations: 410.9 kB / 1.227 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.26e-05/0.4858, allocations: 28 kB / 1.227 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.4865, allocations: 387.6 kB / 1.227 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001963/0.4868, allocations: 199 kB / 1.227 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.4872, allocations: 498.7 kB / 1.228 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.4886, allocations: 1.6 MB / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4886, allocations: 0 / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4886, allocations: 0 / 1.229 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.383e-05/0.4887, allocations: 0 / 1.229 GB, free: 8.215 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.002268/0.4909, allocations: 1.29 MB / 1.23 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.491, allocations: 8.031 kB / 1.23 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009086/0.4919, allocations: 199.3 kB / 1.231 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.493, allocations: 0.7778 MB / 1.231 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.033e-05/0.493, allocations: 69.98 kB / 1.231 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4932, allocations: 80 kB / 1.231 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001568/0.4947, allocations: 0.9496 MB / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.4948, allocations: 0 / 1.232 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.443e-05/0.4949, allocations: 36 kB / 1.232 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.4949, allocations: 24 kB / 1.232 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4967, allocations: 1.139 MB / 1.234 GB, free: 3.516 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.004041/0.5007, allocations: 2.834 MB / 1.236 GB, free: 0.5664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001523/0.5023, allocations: 0.8538 MB / 1.237 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005786/0.5029, allocations: 326.7 kB / 1.237 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.5031, allocations: 109.7 kB / 1.238 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000939/0.504, allocations: 0.5108 MB / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.385e-06/0.504, allocations: 0 / 1.238 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003311/0.5073, allocations: 1.272 MB / 1.239 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.5074, allocations: 188.6 kB / 1.24 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000834/0.5083, allocations: 0.6919 MB / 1.24 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.5084, allocations: 41.7 kB / 1.24 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/0.5087, allocations: 420.4 kB / 1.241 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.5089, allocations: 272.1 kB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.694e-05/0.509, allocations: 65.69 kB / 1.241 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.5092, allocations: 394.7 kB / 1.241 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005806/0.5098, allocations: 289.8 kB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.5104, allocations: 387 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001187/0.5116, allocations: 0.6424 MB / 1.243 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5116, allocations: 0 / 1.243 GB, free: 9.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002025/0.5137, allocations: 0.8956 MB / 1.243 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5137, allocations: 7.938 kB / 1.243 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5137, allocations: 8.094 kB / 1.244 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006228/0.5143, allocations: 84.77 kB / 1.244 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/0.515, allocations: 175.7 kB / 1.244 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001988/0.517, allocations: 1.532 MB / 1.245 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007952/0.5178, allocations: 107.3 kB / 1.245 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.5179, allocations: 39.97 kB / 1.245 GB, free: 6.977 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.000457/0.5184, allocations: 279.3 kB / 1.246 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5185, allocations: 94.86 kB / 1.246 GB, free: 6.598 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0025/0.521, allocations: 1.113 MB / 1.247 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.5211, allocations: 11.94 kB / 1.247 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.287e-06/0.5211, allocations: 0 / 1.247 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5211, allocations: 11.92 kB / 1.247 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.5222, allocations: 0.9425 MB / 1.248 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.5223, allocations: 7.984 kB / 1.248 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.5229, allocations: 147.8 kB / 1.248 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005287/0.5234, allocations: 88.77 kB / 1.248 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.5235, allocations: 27.97 kB / 1.248 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.5252, allocations: 1.563 MB / 1.25 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5253, allocations: 0 / 1.25 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/0.5272, allocations: 0.9785 MB / 1.251 GB, free: 1.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003797/0.5276, allocations: 295.6 kB / 1.251 GB, free: 1.172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.5278, allocations: 28 kB / 1.251 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006844/0.5285, allocations: 88.52 kB / 1.251 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.5286, allocations: 68.89 kB / 1.251 GB, free: 0.9883 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-05/0.5287, allocations: 39.97 kB / 1.251 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006487/0.5294, allocations: 487 kB / 1.251 GB, free: 488 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5294, allocations: 0 / 1.251 GB, free: 488 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008911/0.5303, allocations: 339.2 kB / 1.252 GB, free: 148 kB / 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.5606/1.091, allocations: 0.5976 MB / 1.252 GB, free: 30.62 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002088/1.093, allocations: 0.8691 MB / 1.253 GB, free: 30.51 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.093, allocations: 0.5312 kB / 1.253 GB, free: 30.51 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.094, allocations: 0.5374 MB / 1.254 GB, free: 30.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/1.096, allocations: 298.1 kB / 1.254 GB, free: 30.38 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003809/1.099, allocations: 2.254 MB / 1.256 GB, free: 29.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/1.1, allocations: 1.04 MB / 1.257 GB, free: 28.59 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00104/1.101, allocations: 274.9 kB / 1.258 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/1.102, allocations: 104.9 kB / 1.258 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of SimCode: time 9.71e-07/1.102, allocations: 0 / 1.258 GB, free: 28.53 MB / 0.9981 GB Notification: Performance of Templates: time 0.02926/1.131, allocations: 15.03 MB / 1.272 GB, free: 27.46 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)