Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController") translateModel(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001258/0.001258, allocations: 112.2 kB / 17.09 MB, free: 5.98 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.001196/0.001196, allocations: 193.6 kB / 18.03 MB, free: 5.062 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.364/1.364, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7962/0.7962, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 67.17 kB / 0.5737 GB, free: 27.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1276, allocations: 78.7 MB / 0.6506 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009146/0.1368, allocations: 7.336 MB / 0.6578 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4515/0.5883, allocations: 151.8 MB / 0.806 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.5894, allocations: 23 kB / 0.806 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001279/0.5907, allocations: 436 kB / 0.8064 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.5926, allocations: 0.7604 MB / 0.8072 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.5947, allocations: 1.137 MB / 0.8083 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00248/0.5972, allocations: 2.463 MB / 0.8107 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.5985, allocations: 1.154 MB / 0.8118 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001021/0.5996, allocations: 0.9093 MB / 0.8127 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00094/0.6005, allocations: 0.997 MB / 0.8137 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002598/0.6008, allocations: 265.7 kB / 0.8139 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000995/0.6018, allocations: 0.6421 MB / 0.8146 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004096/0.6022, allocations: 0.5679 MB / 0.8151 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008041/0.603, allocations: 1.079 MB / 0.8162 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003219/0.6062, allocations: 3.166 MB / 0.8193 GB, free: 8.352 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.6063, allocations: 7.938 kB / 0.8193 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.923e-06/0.6063, allocations: 0 / 0.8193 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.912e-05/0.6063, allocations: 0 / 0.8193 GB, free: 8.344 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004349/0.6107, allocations: 2.344 MB / 0.8216 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.6107, allocations: 10.06 kB / 0.8216 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005686/0.6164, allocations: 0.8873 MB / 0.8224 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001864/0.6183, allocations: 1.132 MB / 0.8235 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-05/0.6184, allocations: 125.1 kB / 0.8237 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002296/0.6186, allocations: 157.5 kB / 0.8238 GB, free: 5.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004271/0.6229, allocations: 2.069 MB / 0.8258 GB, free: 3.898 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.623, allocations: 6.656 kB / 0.8258 GB, free: 3.895 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.6231, allocations: 64.84 kB / 0.8259 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.448e-05/0.6232, allocations: 40 kB / 0.8259 GB, free: 3.844 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005703/0.6289, allocations: 2.443 MB / 0.8283 GB, free: 2.652 MB / 0.5919 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.009384/0.6383, allocations: 5.666 MB / 0.8339 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.6424, allocations: 1.726 MB / 0.8355 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001876/0.6443, allocations: 0.7944 MB / 0.8363 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007185/0.645, allocations: 489.5 kB / 0.8368 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002383/0.6474, allocations: 1.073 MB / 0.8378 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=139): time 3.176e-06/0.6474, allocations: 0 / 0.8378 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=139): time 0.00736/0.6548, allocations: 2.615 MB / 0.8404 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.6549, allocations: 222.9 kB / 0.8406 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.6563, allocations: 0.9483 MB / 0.8415 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001261/0.6564, allocations: 61.69 kB / 0.8416 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00059/0.657, allocations: 0.6538 MB / 0.8422 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004249/0.6575, allocations: 477.1 kB / 0.8427 GB, free: 8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005007/0.658, allocations: 270.7 kB / 0.8429 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000181/0.6582, allocations: 357.9 kB / 0.8433 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002003/0.6602, allocations: 0.6897 MB / 0.844 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.6623, allocations: 0.8319 MB / 0.8448 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003998/0.6663, allocations: 1.467 MB / 0.8462 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.6663, allocations: 0 / 0.8462 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.005255/0.6716, allocations: 1.844 MB / 0.848 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.6716, allocations: 4 kB / 0.848 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6716, allocations: 4 kB / 0.848 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006052/0.6723, allocations: 87.17 kB / 0.8481 GB, free: 2.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.6741, allocations: 347.4 kB / 0.8484 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002391/0.6765, allocations: 1.646 MB / 0.85 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.6783, allocations: 211.1 kB / 0.8502 GB, free: 60 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.6785, allocations: 63.98 kB / 0.8503 GB, free: 15.99 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 25 (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,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 160 * 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.0008168/0.6793, allocations: 400.1 kB / 0.8507 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002929/0.6796, allocations: 139.1 kB / 0.8508 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/0.6856, allocations: 2.222 MB / 0.853 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6857, allocations: 7.969 kB / 0.853 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.6857, allocations: 0 / 0.853 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.6864, allocations: 451.5 kB / 0.8534 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002316/0.6867, allocations: 39.95 kB / 0.8535 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.6881, allocations: 145.2 kB / 0.8536 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002564/0.6884, allocations: 125 kB / 0.8537 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005756/0.6941, allocations: 2.002 MB / 0.8557 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007098/0.7012, allocations: 3.019 MB / 0.8586 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002068/0.7033, allocations: 0.8731 MB / 0.8595 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001047/0.7044, allocations: 0.6791 MB / 0.8601 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of Backend: time 7.12e-07/0.7044, allocations: 3.562 kB / 0.8601 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.005866/0.7103, allocations: 1.841 MB / 0.8619 GB, free: 4.273 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004892/0.7152, allocations: 3.134 MB / 0.865 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of Templates: time 0.05174/0.7669, allocations: 29.8 MB / 0.8941 GB, free: 3.523 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.makefile (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & ./IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1)