Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001032/0.001032, allocations: 97.95 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.008494/0.008494, allocations: 170 kB / 16.27 MB, free: 6.652 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.449/1.449, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 10.44 kB / 0.9158 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2961, allocations: 162.2 MB / 1.074 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.005994/0.3021, allocations: 4.75 MB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.16/0.4622, allocations: 147.1 MB / 1.222 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007143/0.4629, allocations: 19.88 kB / 1.222 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0006121/0.4636, allocations: 182.7 kB / 1.223 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001625/0.4652, allocations: 0.5244 MB / 1.223 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.467, allocations: 0.7387 MB / 1.224 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.4685, allocations: 1.339 MB / 1.225 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008349/0.4693, allocations: 0.5909 MB / 1.226 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000539/0.4699, allocations: 362.2 kB / 1.226 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004845/0.4704, allocations: 401.7 kB / 1.227 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.498e-05/0.4705, allocations: 28 kB / 1.227 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000802/0.4713, allocations: 391.6 kB / 1.227 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4715, allocations: 203 kB / 1.227 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004143/0.4719, allocations: 498.7 kB / 1.228 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.4734, allocations: 1.588 MB / 1.229 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4734, allocations: 0 / 1.229 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.103e-06/0.4735, allocations: 0 / 1.229 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.333e-05/0.4735, allocations: 0 / 1.229 GB, free: 8.211 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.002362/0.4758, allocations: 1.29 MB / 1.23 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.4759, allocations: 8.031 kB / 1.23 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000923/0.4768, allocations: 207.3 kB / 1.231 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.4779, allocations: 0.7701 MB / 1.231 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.84e-05/0.478, allocations: 69.94 kB / 1.231 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.4781, allocations: 80 kB / 1.231 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001606/0.4797, allocations: 0.9496 MB / 1.232 GB, free: 4.711 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.4797, allocations: 4 kB / 1.232 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.548e-05/0.4798, allocations: 36 kB / 1.232 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/0.4799, allocations: 20 kB / 1.232 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001798/0.4817, allocations: 1.147 MB / 1.234 GB, free: 3.504 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.00421/0.4859, allocations: 2.831 MB / 1.236 GB, free: 0.5586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001542/0.4874, allocations: 0.8519 MB / 1.237 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005719/0.488, allocations: 318.7 kB / 1.237 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.4882, allocations: 117.6 kB / 1.238 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009228/0.4892, allocations: 0.5108 MB / 1.238 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.375e-06/0.4892, allocations: 4 kB / 1.238 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of matching and sorting (n=82): time 0.003314/0.4925, allocations: 1.264 MB / 1.239 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.272e-05/0.4926, allocations: 196.6 kB / 1.24 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008321/0.4934, allocations: 0.6841 MB / 1.24 GB, free: 12.49 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.831e-05/0.4935, allocations: 49.64 kB / 1.24 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003224/0.4938, allocations: 420.4 kB / 1.241 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.4941, allocations: 264.2 kB / 1.241 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.4942, allocations: 77.61 kB / 1.241 GB, free: 11.68 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002099/0.4944, allocations: 390.8 kB / 1.241 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006313/0.495, allocations: 281.8 kB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006648/0.4957, allocations: 387.1 kB / 1.242 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.4969, allocations: 0.6463 MB / 1.243 GB, free: 9.961 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.4969, allocations: 4 kB / 1.243 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002039/0.499, allocations: 0.8995 MB / 1.243 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.499, allocations: 7.938 kB / 1.244 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.499, allocations: 4 kB / 1.244 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.4996, allocations: 80.84 kB / 1.244 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006828/0.5003, allocations: 167.8 kB / 1.244 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.5024, allocations: 1.544 MB / 1.245 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008598/0.5033, allocations: 116.1 kB / 1.245 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.5033, allocations: 31.98 kB / 1.245 GB, free: 6.969 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.0005618/0.5039, allocations: 283.4 kB / 1.246 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.5041, allocations: 86.88 kB / 1.246 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.5066, allocations: 1.109 MB / 1.247 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.5066, allocations: 16 kB / 1.247 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.5066, allocations: 0 / 1.247 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.299e-05/0.5066, allocations: 11.91 kB / 1.247 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.5077, allocations: 0.9425 MB / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.5078, allocations: 0 / 1.248 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005993/0.5084, allocations: 147.8 kB / 1.248 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005284/0.5089, allocations: 92.69 kB / 1.248 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.211e-05/0.509, allocations: 23.98 kB / 1.248 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001855/0.5108, allocations: 1.571 MB / 1.25 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5108, allocations: 0 / 1.25 GB, free: 2.473 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/0.5129, allocations: 0.9863 MB / 1.251 GB, free: 1.469 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.5133, allocations: 295.6 kB / 1.251 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.5134, allocations: 16 kB / 1.251 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006929/0.5141, allocations: 89.23 kB / 1.251 GB, free: 1.059 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001481/0.5143, allocations: 72.84 kB / 1.251 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.5143, allocations: 35.91 kB / 1.251 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006054/0.515, allocations: 491 kB / 1.251 GB, free: 484 kB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.515, allocations: 0 / 1.251 GB, free: 484 kB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008614/0.5158, allocations: 335.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.5696/1.085, allocations: 0.6041 MB / 1.252 GB, free: 30.69 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003394/1.089, allocations: 0.8742 MB / 1.253 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.089, allocations: 1.906 kB / 1.253 GB, free: 30.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001615/1.091, allocations: 0.534 MB / 1.254 GB, free: 30.46 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/1.093, allocations: 299.2 kB / 1.254 GB, free: 30.45 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/1.099, allocations: 2.248 MB / 1.256 GB, free: 29.36 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.1, allocations: 1.042 MB / 1.257 GB, free: 28.66 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001732/1.101, allocations: 270.3 kB / 1.258 GB, free: 28.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004864/1.102, allocations: 106.9 kB / 1.258 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.102, allocations: 0.9375 kB / 1.258 GB, free: 28.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04239/1.144, allocations: 15.03 MB / 1.272 GB, free: 27.53 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Obsolete.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)