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.0009826/0.0009826, allocations: 97.95 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 180.2 kB / 16.92 MB, free: 6.922 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.427/1.427, allocations: 223.2 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7957/0.7957, allocations: 123.1 MB / 415.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003416/0.0003416, allocations: 8 kB / 0.4934 GB, free: 13.94 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5349/0.5353, allocations: 79.29 MB / 0.5708 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006572/0.5419, allocations: 5.13 MB / 0.5758 GB, free: 7.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1837/0.7256, allocations: 147 MB / 0.7193 GB, free: 3.895 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001278/0.727, allocations: 31.75 kB / 0.7194 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009164/0.7279, allocations: 290.2 kB / 0.7196 GB, free: 3.578 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002417/0.7303, allocations: 485.3 kB / 0.7201 GB, free: 3.105 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.7329, allocations: 0.7633 MB / 0.7208 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002078/0.735, allocations: 1.445 MB / 0.7223 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.7362, allocations: 0.7277 MB / 0.723 GB, free: 132 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008746/0.737, allocations: 393.9 kB / 0.7233 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006203/0.7377, allocations: 437.3 kB / 0.7238 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.436e-05/0.7378, allocations: 28 kB / 0.7238 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009492/0.7387, allocations: 371.6 kB / 0.7241 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.739, allocations: 206.9 kB / 0.7243 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000565/0.7396, allocations: 0.545 MB / 0.7249 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002079/0.7416, allocations: 1.748 MB / 0.7266 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.7417, allocations: 0 / 0.7266 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7417, allocations: 0 / 0.7266 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.335e-05/0.7417, allocations: 0 / 0.7266 GB, free: 12.41 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.002602/0.7443, allocations: 1.425 MB / 0.728 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.7444, allocations: 12.03 kB / 0.728 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009942/0.7454, allocations: 227 kB / 0.7282 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.7467, allocations: 0.8867 MB / 0.7291 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.387e-05/0.7467, allocations: 74 kB / 0.7291 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.7469, allocations: 92 kB / 0.7292 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.7487, allocations: 1.047 MB / 0.7302 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7487, allocations: 4 kB / 0.7302 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.968e-05/0.7488, allocations: 40 kB / 0.7303 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.007e-05/0.7489, allocations: 24 kB / 0.7303 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001852/0.7507, allocations: 1.175 MB / 0.7315 GB, free: 7.281 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.004698/0.7554, allocations: 3.081 MB / 0.7345 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.7569, allocations: 0.8016 MB / 0.7352 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005385/0.7575, allocations: 302.7 kB / 0.7355 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.279e-05/0.7576, allocations: 32.59 kB / 0.7356 GB, free: 2.949 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009119/0.7585, allocations: 0.491 MB / 0.736 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.7585, allocations: 3.938 kB / 0.736 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.003176/0.7617, allocations: 1.209 MB / 0.7372 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.7618, allocations: 200.6 kB / 0.7374 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.763, allocations: 0.799 MB / 0.7382 GB, free: 144 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.7631, allocations: 41.7 kB / 0.7382 GB, free: 96 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.7635, allocations: 0.5039 MB / 0.7387 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002238/0.7638, allocations: 256.4 kB / 0.739 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.7639, allocations: 69.62 kB / 0.739 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.764, allocations: 337.9 kB / 0.7394 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.7646, allocations: 273.8 kB / 0.7396 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006055/0.7652, allocations: 363.1 kB / 0.74 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.7663, allocations: 0.6073 MB / 0.7406 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.7663, allocations: 0 / 0.7406 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002091/0.7684, allocations: 0.8681 MB / 0.7414 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.7685, allocations: 8.094 kB / 0.7414 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.7685, allocations: 4 kB / 0.7414 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/0.7691, allocations: 92.64 kB / 0.7415 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006486/0.7698, allocations: 159.8 kB / 0.7417 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.772, allocations: 1.533 MB / 0.7432 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008408/0.7728, allocations: 103.3 kB / 0.7433 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.02e-05/0.7729, allocations: 39.97 kB / 0.7433 GB, free: 10.71 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.0005389/0.7734, allocations: 299.3 kB / 0.7436 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.7736, allocations: 106.6 kB / 0.7437 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.776, allocations: 1.09 MB / 0.7448 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.776, allocations: 8 kB / 0.7448 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.776, allocations: 0 / 0.7448 GB, free: 9.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.7761, allocations: 3.984 kB / 0.7448 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.7772, allocations: 1.006 MB / 0.7457 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.7772, allocations: 4 kB / 0.7457 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000563/0.7778, allocations: 147.8 kB / 0.7459 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005286/0.7783, allocations: 80.78 kB / 0.746 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.191e-05/0.7784, allocations: 27.97 kB / 0.746 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.7802, allocations: 1.552 MB / 0.7475 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7802, allocations: 4.062 kB / 0.7475 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001943/0.7822, allocations: 0.951 MB / 0.7484 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004638/0.7827, allocations: 299.4 kB / 0.7487 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.7828, allocations: 23.98 kB / 0.7488 GB, free: 4.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.7835, allocations: 83.88 kB / 0.7488 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001595/0.7836, allocations: 68.89 kB / 0.7489 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.7837, allocations: 31.98 kB / 0.7489 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007557/0.7845, allocations: 0.5581 MB / 0.7495 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7845, allocations: 4 kB / 0.7495 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009708/0.7855, allocations: 347 kB / 0.7498 GB, free: 3.773 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.001475/0.7869, allocations: 0.6018 MB / 0.7504 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001794/0.7887, allocations: 0.8313 MB / 0.7512 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7888, allocations: 0 / 0.7512 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009307/0.7897, allocations: 0.516 MB / 0.7517 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.7916, allocations: 429.8 kB / 0.7521 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003706/0.7953, allocations: 2.452 MB / 0.7545 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008023/0.7961, allocations: 1.102 MB / 0.7556 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001077/0.7972, allocations: 287.6 kB / 0.7559 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002746/0.7975, allocations: 111.4 kB / 0.756 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of SimCode: time 1.002e-06/0.7975, allocations: 3.938 kB / 0.756 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of Templates: time 0.0308/0.8283, allocations: 16.57 MB / 0.7722 GB, free: 13.18 MB / 0.6075 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)