Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.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.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 109.5 kB / 17.02 MB, free: 6.121 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.001356/0.001356, allocations: 194.9 kB / 17.97 MB, free: 5.211 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6858/0.6858, allocations: 115.1 MB / 406.9 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 494.8 MB, free: 15.91 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3426/0.3438, allocations: 76.13 MB / 0.5576 GB, free: 36.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005782/0.3496, allocations: 5.6 MB / 0.563 GB, free: 32.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.5013, allocations: 150.9 MB / 0.7104 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.5028, allocations: 19.88 kB / 0.7104 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.5037, allocations: 361.3 kB / 0.7107 GB, free: 7.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001877/0.5057, allocations: 0.5701 MB / 0.7113 GB, free: 6.777 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.5078, allocations: 0.8721 MB / 0.7121 GB, free: 5.914 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5093, allocations: 1.57 MB / 0.7137 GB, free: 4.336 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009793/0.5103, allocations: 0.7558 MB / 0.7144 GB, free: 3.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006339/0.511, allocations: 0.537 MB / 0.7149 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006026/0.5116, allocations: 0.5792 MB / 0.7155 GB, free: 2.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.5117, allocations: 132 kB / 0.7156 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008688/0.5126, allocations: 495.6 kB / 0.7161 GB, free: 1.809 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.5129, allocations: 334.9 kB / 0.7164 GB, free: 1.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005963/0.5135, allocations: 0.6566 MB / 0.7171 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001795/0.5153, allocations: 1.915 MB / 0.7189 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5154, allocations: 0 / 0.7189 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5154, allocations: 0 / 0.7189 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.396e-05/0.5154, allocations: 0 / 0.7189 GB, free: 14.9 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002514/0.5179, allocations: 1.682 MB / 0.7206 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.518, allocations: 12.03 kB / 0.7206 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008841/0.5188, allocations: 215 kB / 0.7208 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/0.5202, allocations: 0.9101 MB / 0.7217 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.113e-05/0.5203, allocations: 78 kB / 0.7218 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.5204, allocations: 104 kB / 0.7219 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.5221, allocations: 1.032 MB / 0.7229 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.5221, allocations: 0 / 0.7229 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.5222, allocations: 44 kB / 0.7229 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.5222, allocations: 24 kB / 0.7229 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/0.524, allocations: 1.167 MB / 0.7241 GB, free: 9.508 MB / 0.5606 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.004108/0.5281, allocations: 3.006 MB / 0.727 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00144/0.5296, allocations: 0.7899 MB / 0.7278 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00049/0.5301, allocations: 304 kB / 0.7281 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.837e-05/0.5302, allocations: 32.59 kB / 0.7281 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008081/0.531, allocations: 499 kB / 0.7286 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.194e-06/0.531, allocations: 4 kB / 0.7286 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002979/0.534, allocations: 1.197 MB / 0.7297 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/0.5341, allocations: 196.6 kB / 0.7299 GB, free: 3.285 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009035/0.535, allocations: 0.795 MB / 0.7307 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.5351, allocations: 45.7 kB / 0.7308 GB, free: 2.414 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.5354, allocations: 0.5 MB / 0.7312 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001764/0.5356, allocations: 256.4 kB / 0.7315 GB, free: 1.652 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.5358, allocations: 162.5 kB / 0.7316 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.536, allocations: 333.9 kB / 0.732 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.5364, allocations: 269.9 kB / 0.7322 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.537, allocations: 359.1 kB / 0.7326 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.5381, allocations: 0.6073 MB / 0.7332 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.5381, allocations: 4.062 kB / 0.7332 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001756/0.5399, allocations: 0.8641 MB / 0.734 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.5399, allocations: 4 kB / 0.734 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.5399, allocations: 4.094 kB / 0.734 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005584/0.5405, allocations: 88.69 kB / 0.7341 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005955/0.5411, allocations: 159.8 kB / 0.7342 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/0.5431, allocations: 1.634 MB / 0.7358 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.5438, allocations: 93.08 kB / 0.7359 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.5439, allocations: 39.97 kB / 0.736 GB, free: 12.86 MB / 0.5762 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 (92): * Single equations (assignments): 91 * 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.0003985/0.5443, allocations: 288.3 kB / 0.7362 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5445, allocations: 110.7 kB / 0.7364 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/0.5467, allocations: 1.07 MB / 0.7374 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.5467, allocations: 12 kB / 0.7374 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5467, allocations: 3.938 kB / 0.7374 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.5467, allocations: 3.984 kB / 0.7374 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.5477, allocations: 1.013 MB / 0.7384 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.5477, allocations: 0 / 0.7384 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005378/0.5483, allocations: 143.8 kB / 0.7385 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003923/0.5487, allocations: 68.8 kB / 0.7386 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.5488, allocations: 27.97 kB / 0.7386 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001772/0.5505, allocations: 1.67 MB / 0.7403 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5505, allocations: 3.938 kB / 0.7403 GB, free: 8.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.5523, allocations: 0.9394 MB / 0.7412 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.5527, allocations: 295.4 kB / 0.7415 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5528, allocations: 16 kB / 0.7415 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005709/0.5534, allocations: 67.88 kB / 0.7415 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5536, allocations: 72.83 kB / 0.7416 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.5536, allocations: 35.98 kB / 0.7417 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006572/0.5543, allocations: 0.5503 MB / 0.7422 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.924e-06/0.5543, allocations: 0 / 0.7422 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007538/0.5551, allocations: 355 kB / 0.7425 GB, free: 5.871 MB / 0.5762 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 (89): * Single equations (assignments): 83 * 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.001225/0.5563, allocations: 0.6003 MB / 0.7431 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001467/0.5578, allocations: 0.8234 MB / 0.7439 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5578, allocations: 0 / 0.7439 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008463/0.5586, allocations: 0.5121 MB / 0.7444 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.56, allocations: 474.8 kB / 0.7449 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002905/0.5629, allocations: 1.917 MB / 0.7467 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.5636, allocations: 1.102 MB / 0.7478 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007713/0.5644, allocations: 283.7 kB / 0.7481 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002459/0.5646, allocations: 115.4 kB / 0.7482 GB, free: 224 kB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.5646, allocations: 0 / 0.7482 GB, free: 224 kB / 0.5762 GB Notification: Performance of Templates: time 0.263/0.8276, allocations: 17.37 MB / 0.7652 GB, free: 169.4 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)