Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.000798/0.000798, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008537/0.0008538, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001676/0.001676, allocations: 270.6 kB / 291.4 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9383/0.9383, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.0004022, allocations: 16.28 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.175, allocations: 88.54 MB / 0.6845 GB, free: 15.48 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005067/0.1801, allocations: 4.395 MB / 0.6888 GB, free: 11.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5292/0.7093, allocations: 137 MB / 0.8226 GB, free: 340 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006339/0.71, allocations: 25.69 kB / 0.8226 GB, free: 328 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005985/0.7106, allocations: 258.9 kB / 0.8228 GB, free: 228 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.7119, allocations: 441.3 kB / 0.8233 GB, free: 28 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.7137, allocations: 0.6399 MB / 0.8239 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001473/0.7152, allocations: 1.265 MB / 0.8251 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008861/0.7161, allocations: 0.5895 MB / 0.8257 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006114/0.7167, allocations: 368 kB / 0.8261 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.7171, allocations: 405.4 kB / 0.8264 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.917e-05/0.7172, allocations: 27.5 kB / 0.8265 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007874/0.718, allocations: 338.7 kB / 0.8268 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.7182, allocations: 195.2 kB / 0.827 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.7184, allocations: 244.4 kB / 0.8272 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.7199, allocations: 1.363 MB / 0.8285 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.7199, allocations: 1.031 kB / 0.8285 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.893e-06/0.7199, allocations: 0 / 0.8285 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.345e-05/0.7199, allocations: 0 / 0.8285 GB, free: 14.15 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.002713/0.7226, allocations: 1.431 MB / 0.8299 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.7227, allocations: 6.75 kB / 0.8299 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008455/0.7235, allocations: 228.6 kB / 0.8302 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.7247, allocations: 0.851 MB / 0.831 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.06e-05/0.7248, allocations: 75.94 kB / 0.8311 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.7249, allocations: 100.4 kB / 0.8312 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.7264, allocations: 1.024 MB / 0.8322 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.7265, allocations: 7.25 kB / 0.8322 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.082e-05/0.7266, allocations: 47.27 kB / 0.8322 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.7266, allocations: 25 kB / 0.8322 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.7282, allocations: 1.161 MB / 0.8334 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.732, allocations: 2.857 MB / 0.8362 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.7333, allocations: 0.7987 MB / 0.8369 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.7338, allocations: 301.3 kB / 0.8372 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.619e-05/0.7339, allocations: 29.7 kB / 0.8373 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008076/0.7347, allocations: 0.4886 MB / 0.8377 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.595e-06/0.7347, allocations: 0 / 0.8377 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.002726/0.7374, allocations: 1.211 MB / 0.8389 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.7375, allocations: 189.2 kB / 0.8391 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008845/0.7384, allocations: 0.7916 MB / 0.8399 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.766e-05/0.7385, allocations: 48.83 kB / 0.8399 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.7389, allocations: 0.5058 MB / 0.8404 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.7391, allocations: 249.1 kB / 0.8407 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.7392, allocations: 14.88 kB / 0.8407 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.7393, allocations: 335.8 kB / 0.841 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/0.7398, allocations: 267.8 kB / 0.8412 GB, free: 7.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005562/0.7403, allocations: 364 kB / 0.8416 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005113/0.7408, allocations: 315.5 kB / 0.8419 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.7409, allocations: 3.953 kB / 0.8419 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001675/0.7425, allocations: 0.8611 MB / 0.8427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.7426, allocations: 5.844 kB / 0.8427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.7426, allocations: 0 / 0.8427 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.7431, allocations: 87.2 kB / 0.8428 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.7437, allocations: 153.9 kB / 0.843 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001841/0.7455, allocations: 1.535 MB / 0.8445 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006841/0.7462, allocations: 104.8 kB / 0.8446 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.37e-05/0.7463, allocations: 37.64 kB / 0.8446 GB, free: 5.449 MB / 0.5606 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 ($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,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * 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 (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.0004427/0.7468, allocations: 301.9 kB / 0.8449 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.7469, allocations: 101 kB / 0.845 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002128/0.749, allocations: 1.089 MB / 0.8461 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.7491, allocations: 11.67 kB / 0.8461 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.7491, allocations: 3.984 kB / 0.8461 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.7491, allocations: 3.984 kB / 0.8461 GB, free: 4.539 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.7501, allocations: 1.007 MB / 0.8471 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.7501, allocations: 0 / 0.8471 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.7507, allocations: 144.2 kB / 0.8472 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004532/0.7511, allocations: 84.05 kB / 0.8473 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.7512, allocations: 24.67 kB / 0.8473 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001724/0.7529, allocations: 1.563 MB / 0.8488 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7529, allocations: 0 / 0.8488 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.7547, allocations: 0.9402 MB / 0.8497 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.7551, allocations: 318.7 kB / 0.85 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001173/0.7553, allocations: 16.66 kB / 0.8501 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005494/0.7558, allocations: 83.48 kB / 0.8501 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.7559, allocations: 65.53 kB / 0.8502 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-05/0.756, allocations: 35.56 kB / 0.8502 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000641/0.7567, allocations: 0.5463 MB / 0.8508 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7567, allocations: 0 / 0.8508 GB, free: 0.9727 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0008063/0.7575, allocations: 334.9 kB / 0.8511 GB, free: 0.875 MB / 0.5606 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.001263/0.7587, allocations: 0.611 MB / 0.8517 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001445/0.7602, allocations: 0.8271 MB / 0.8525 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.7602, allocations: 1.844 kB / 0.8525 GB, free: 136 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007936/0.761, allocations: 0.508 MB / 0.853 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.7623, allocations: 400.6 kB / 0.8534 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003915/0.7662, allocations: 2.514 MB / 0.8558 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005789/0.7668, allocations: 1.095 MB / 0.8569 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008425/0.7677, allocations: 286.6 kB / 0.8572 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002442/0.7679, allocations: 111.1 kB / 0.8573 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of SimCode: time 6.81e-07/0.7679, allocations: 0 / 0.8573 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.02659/0.7945, allocations: 15.73 MB / 0.8726 GB, free: 15.03 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)