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.001101/0.001101, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001123/0.001124, allocations: 190.3 kB / 16.25 MB, free: 6.617 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.3/1.3, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 298.7 kB / 290.4 MB, free: 2.133 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9436/0.9436, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003037/0.003037, allocations: 96.25 kB / 0.5947 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1531, allocations: 86.98 MB / 0.6796 GB, free: 1.062 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006452/0.1596, allocations: 5.098 MB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4757/0.6353, allocations: 148.6 MB / 0.8297 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.6366, allocations: 22.28 kB / 0.8297 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.6379, allocations: 297 kB / 0.83 GB, free: 0.6875 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003011/0.6409, allocations: 469.8 kB / 0.8305 GB, free: 0.5781 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.6433, allocations: 0.7613 MB / 0.8312 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001665/0.645, allocations: 1.482 MB / 0.8327 GB, free: 300 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.646, allocations: 0.8137 MB / 0.8334 GB, free: 104 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00084/0.6468, allocations: 0.5259 MB / 0.834 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.6474, allocations: 0.5609 MB / 0.8345 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.6476, allocations: 131.5 kB / 0.8346 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008745/0.6485, allocations: 474.9 kB / 0.8351 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002282/0.6487, allocations: 329.7 kB / 0.8354 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.6492, allocations: 0.656 MB / 0.836 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001579/0.6508, allocations: 1.829 MB / 0.8378 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.6508, allocations: 5.719 kB / 0.8378 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6508, allocations: 0 / 0.8378 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.551e-05/0.6508, allocations: 0 / 0.8378 GB, free: 15.26 MB / 0.5762 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.002511/0.6534, allocations: 1.671 MB / 0.8395 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.6534, allocations: 8.25 kB / 0.8395 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009209/0.6543, allocations: 214.3 kB / 0.8397 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6554, allocations: 0.8951 MB / 0.8406 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.576e-05/0.6555, allocations: 73.31 kB / 0.8406 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/0.6556, allocations: 94.91 kB / 0.8407 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/0.6572, allocations: 1.04 MB / 0.8417 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.288e-05/0.6573, allocations: 1.344 kB / 0.8417 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.6574, allocations: 39.97 kB / 0.8418 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.388e-05/0.6574, allocations: 24.81 kB / 0.8418 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.659, allocations: 1.177 MB / 0.8429 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003972/0.663, allocations: 2.827 MB / 0.8457 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.6645, allocations: 0.7937 MB / 0.8465 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004635/0.665, allocations: 299.7 kB / 0.8468 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.89e-05/0.6651, allocations: 32.33 kB / 0.8468 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008357/0.6659, allocations: 498.3 kB / 0.8473 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.414e-06/0.6659, allocations: 0 / 0.8473 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002893/0.6688, allocations: 1.202 MB / 0.8484 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.466e-05/0.669, allocations: 192.2 kB / 0.8486 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/0.6698, allocations: 0.8005 MB / 0.8494 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.304e-05/0.6699, allocations: 42.98 kB / 0.8494 GB, free: 8.812 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003536/0.6702, allocations: 0.5051 MB / 0.8499 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001832/0.6704, allocations: 246 kB / 0.8502 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.6707, allocations: 166.2 kB / 0.8503 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.6708, allocations: 341.7 kB / 0.8507 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004655/0.6713, allocations: 269.1 kB / 0.8509 GB, free: 7.586 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.6719, allocations: 358.8 kB / 0.8513 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.6728, allocations: 0.6049 MB / 0.8519 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.6729, allocations: 3.188 kB / 0.8519 GB, free: 7.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001749/0.6746, allocations: 0.853 MB / 0.8527 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.6746, allocations: 10.67 kB / 0.8527 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6747, allocations: 6.781 kB / 0.8527 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/0.6752, allocations: 83.88 kB / 0.8528 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.6758, allocations: 157.4 kB / 0.8529 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.6778, allocations: 1.653 MB / 0.8545 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007086/0.6786, allocations: 92.78 kB / 0.8546 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.6786, allocations: 34.61 kB / 0.8547 GB, free: 4.844 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.0004305/0.6791, allocations: 301.1 kB / 0.855 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.6792, allocations: 99 kB / 0.8551 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002234/0.6815, allocations: 1.074 MB / 0.8561 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.6815, allocations: 10.69 kB / 0.8561 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.6815, allocations: 3.938 kB / 0.8561 GB, free: 3.961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.6815, allocations: 7.922 kB / 0.8561 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001055/0.6826, allocations: 1.003 MB / 0.8571 GB, free: 3.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6826, allocations: 4 kB / 0.8571 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005121/0.6831, allocations: 144.3 kB / 0.8572 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.6835, allocations: 74.16 kB / 0.8573 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.626e-05/0.6836, allocations: 23.27 kB / 0.8573 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.6854, allocations: 1.674 MB / 0.859 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6854, allocations: 0 / 0.859 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001844/0.6873, allocations: 0.9417 MB / 0.8599 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.6876, allocations: 293.7 kB / 0.8602 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/0.6878, allocations: 16.81 kB / 0.8602 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005947/0.6884, allocations: 64.89 kB / 0.8602 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.6885, allocations: 68.09 kB / 0.8603 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.6886, allocations: 32.23 kB / 0.8603 GB, free: 0.6562 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006473/0.6893, allocations: 0.5573 MB / 0.8609 GB, free: 332 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6893, allocations: 4 kB / 0.8609 GB, free: 328 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008305/0.6901, allocations: 342.1 kB / 0.8612 GB, free: 220 kB / 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.0014/0.6915, allocations: 0.6054 MB / 0.8618 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002146/0.6937, allocations: 1.025 MB / 0.8628 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.6937, allocations: 0 / 0.8628 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008835/0.6946, allocations: 0.5129 MB / 0.8633 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.6962, allocations: 454.4 kB / 0.8637 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004588/0.7008, allocations: 2.533 MB / 0.8662 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008198/0.7016, allocations: 1.101 MB / 0.8673 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009834/0.7026, allocations: 287.9 kB / 0.8676 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002906/0.7029, allocations: 117.2 kB / 0.8677 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of SimCode: time 1.092e-06/0.7029, allocations: 4 kB / 0.8677 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.03029/0.7332, allocations: 16.86 MB / 0.8842 GB, free: 14.23 MB / 0.6075 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)