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.0009076/0.0009076, allocations: 95.88 kB / 15.68 MB, free: 488 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.0009585/0.0009585, allocations: 176.2 kB / 16.57 MB, free: 6.855 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.296/1.296, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6678/0.6678, allocations: 113.8 MB / 405.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8 kB / 493 MB, free: 8.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 77.15 MB / 0.5568 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00499/0.1394, allocations: 4.306 MB / 0.561 GB, free: 7.301 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3867/0.5261, allocations: 127.8 MB / 0.6858 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000556/0.5267, allocations: 19.88 kB / 0.6859 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003566/0.5271, allocations: 99.06 kB / 0.6859 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.5285, allocations: 0.5674 MB / 0.6865 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.53, allocations: 0.6345 MB / 0.6871 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001766/0.5318, allocations: 1.053 MB / 0.6881 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000959/0.5327, allocations: 0.5851 MB / 0.6887 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.5333, allocations: 366.3 kB / 0.6891 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004483/0.5338, allocations: 381.8 kB / 0.6894 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.268e-05/0.5339, allocations: 28 kB / 0.6895 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007093/0.5346, allocations: 311.6 kB / 0.6898 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.5348, allocations: 195.1 kB / 0.6899 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001844/0.535, allocations: 248.9 kB / 0.6902 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.5363, allocations: 1.361 MB / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5364, allocations: 0 / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5364, allocations: 0 / 0.6915 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.702e-05/0.5364, allocations: 0 / 0.6915 GB, free: 15.93 MB / 0.5137 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.002428/0.5388, allocations: 1.438 MB / 0.6929 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5389, allocations: 12.02 kB / 0.6929 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009471/0.5398, allocations: 226.1 kB / 0.6931 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001275/0.5411, allocations: 0.8482 MB / 0.694 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.032e-05/0.5412, allocations: 74 kB / 0.694 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5413, allocations: 99.95 kB / 0.6941 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.5431, allocations: 1.024 MB / 0.6951 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.5431, allocations: 0 / 0.6951 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.5433, allocations: 40 kB / 0.6952 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.492e-05/0.5433, allocations: 28 kB / 0.6952 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001951/0.5452, allocations: 1.167 MB / 0.6963 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004219/0.5495, allocations: 2.87 MB / 0.6991 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.5509, allocations: 0.8002 MB / 0.6999 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.472e-05/0.551, allocations: 32.59 kB / 0.7 GB, free: 7.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/0.5518, allocations: 491.2 kB / 0.7004 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=78): time 2.064e-06/0.5518, allocations: 0 / 0.7004 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=78): time 0.002938/0.5547, allocations: 1.211 MB / 0.7016 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.681e-05/0.5548, allocations: 192.6 kB / 0.7018 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009307/0.5558, allocations: 0.7967 MB / 0.7026 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/0.5558, allocations: 41.7 kB / 0.7026 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.5562, allocations: 0.504 MB / 0.7031 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001831/0.5564, allocations: 252.3 kB / 0.7033 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.5565, allocations: 16 kB / 0.7034 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.5566, allocations: 333.9 kB / 0.7037 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004921/0.5571, allocations: 253.8 kB / 0.7039 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005678/0.5576, allocations: 354.5 kB / 0.7043 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.5582, allocations: 298.9 kB / 0.7045 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.5582, allocations: 4 kB / 0.7045 GB, free: 2.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001754/0.56, allocations: 0.8172 MB / 0.7053 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.56, allocations: 10.59 kB / 0.7054 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.56, allocations: 4 kB / 0.7054 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.5606, allocations: 80.78 kB / 0.7054 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006194/0.5612, allocations: 147.8 kB / 0.7056 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002026/0.5633, allocations: 1.551 MB / 0.7071 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000654/0.5639, allocations: 98.17 kB / 0.7072 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.045e-05/0.564, allocations: 32.67 kB / 0.7072 GB, free: 15.33 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004548/0.5645, allocations: 294.3 kB / 0.7075 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5646, allocations: 98.78 kB / 0.7076 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.5669, allocations: 1.099 MB / 0.7087 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5669, allocations: 8 kB / 0.7087 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5669, allocations: 0 / 0.7087 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.5669, allocations: 3.984 kB / 0.7087 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.568, allocations: 1.009 MB / 0.7097 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.568, allocations: 0 / 0.7097 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.5686, allocations: 147.8 kB / 0.7098 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005222/0.5691, allocations: 88.77 kB / 0.7099 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.167e-05/0.5692, allocations: 23.98 kB / 0.7099 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/0.5709, allocations: 1.567 MB / 0.7114 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.5709, allocations: 0 / 0.7114 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001828/0.5728, allocations: 0.9473 MB / 0.7124 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.5732, allocations: 303.4 kB / 0.7127 GB, free: 9.504 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.5733, allocations: 19.94 kB / 0.7127 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006303/0.574, allocations: 83.86 kB / 0.7128 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.5741, allocations: 68.91 kB / 0.7128 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.5742, allocations: 40.03 kB / 0.7129 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006729/0.5749, allocations: 0.5464 MB / 0.7134 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5749, allocations: 0 / 0.7134 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008006/0.5757, allocations: 338.9 kB / 0.7137 GB, free: 8.406 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.5769, allocations: 0.5927 MB / 0.7143 GB, free: 8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001479/0.5784, allocations: 0.7963 MB / 0.7151 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5784, allocations: 4 kB / 0.7151 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008473/0.5793, allocations: 0.5158 MB / 0.7156 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5807, allocations: 379.2 kB / 0.7159 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.5849, allocations: 2.503 MB / 0.7184 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/0.5855, allocations: 1.125 MB / 0.7195 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0008295/0.5863, allocations: 291.5 kB / 0.7198 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.5866, allocations: 111.4 kB / 0.7199 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of SimCode: time 6.91e-07/0.5866, allocations: 0 / 0.7199 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of Templates: time 0.02464/0.6112, allocations: 15.68 MB / 0.7352 GB, free: 2.707 MB / 0.545 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)