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.001033/0.001033, allocations: 109.3 kB / 15.7 MB, free: 132 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.001074/0.001074, allocations: 195.4 kB / 16.63 MB, free: 6.609 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.361/1.361, allocations: 222.9 MB / 240.3 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 282.4 kB / 290.8 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9431/0.9431, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 91.86 kB / 0.6814 GB, free: 15.55 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1698, allocations: 86.98 MB / 0.7663 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006496/0.1763, allocations: 5.116 MB / 0.7713 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5348/0.7112, allocations: 150.8 MB / 0.9186 GB, free: 6.703 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009485/0.7122, allocations: 27.81 kB / 0.9186 GB, free: 6.676 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.713, allocations: 347.9 kB / 0.9189 GB, free: 6.336 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.7145, allocations: 0.5231 MB / 0.9195 GB, free: 5.828 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.7163, allocations: 0.8555 MB / 0.9203 GB, free: 4.98 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001273/0.7176, allocations: 1.489 MB / 0.9217 GB, free: 3.488 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001005/0.7186, allocations: 0.8143 MB / 0.9225 GB, free: 2.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006365/0.7193, allocations: 0.5214 MB / 0.923 GB, free: 2.121 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.7199, allocations: 0.5598 MB / 0.9236 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001578/0.72, allocations: 136 kB / 0.9237 GB, free: 1.426 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008535/0.7209, allocations: 499.6 kB / 0.9242 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002955/0.7212, allocations: 334.9 kB / 0.9245 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005367/0.7217, allocations: 0.6412 MB / 0.9251 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.7236, allocations: 1.891 MB / 0.927 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7236, allocations: 0 / 0.927 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.423e-06/0.7236, allocations: 0 / 0.927 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.7236, allocations: 0 / 0.927 GB, free: 14.07 MB / 0.6856 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.00249/0.7261, allocations: 1.671 MB / 0.9286 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.7261, allocations: 8.031 kB / 0.9286 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008993/0.7271, allocations: 215 kB / 0.9288 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.7284, allocations: 0.9105 MB / 0.9297 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.51e-05/0.7285, allocations: 74 kB / 0.9298 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.7286, allocations: 96 kB / 0.9299 GB, free: 11.01 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/0.7304, allocations: 1.035 MB / 0.9309 GB, free: 9.934 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.7304, allocations: 7.938 kB / 0.9309 GB, free: 9.926 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/0.7305, allocations: 44 kB / 0.9309 GB, free: 9.883 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.958e-05/0.7305, allocations: 24 kB / 0.931 GB, free: 9.859 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.7324, allocations: 1.167 MB / 0.9321 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003855/0.7362, allocations: 2.793 MB / 0.9348 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.7377, allocations: 0.7941 MB / 0.9356 GB, free: 5.031 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.7382, allocations: 294.7 kB / 0.9359 GB, free: 4.742 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.131e-05/0.7383, allocations: 40.52 kB / 0.9359 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00079/0.7391, allocations: 495.1 kB / 0.9364 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=78): time 2.134e-06/0.7391, allocations: 0 / 0.9364 GB, free: 4.199 MB / 0.6856 GB Notification: Performance of matching and sorting (n=78): time 0.002998/0.7421, allocations: 1.205 MB / 0.9376 GB, free: 2.965 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.085e-05/0.7422, allocations: 192.6 kB / 0.9378 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009146/0.7432, allocations: 0.7912 MB / 0.9385 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.425e-05/0.7432, allocations: 49.69 kB / 0.9386 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003661/0.7436, allocations: 0.505 MB / 0.9391 GB, free: 1.352 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.7438, allocations: 248.5 kB / 0.9393 GB, free: 1.105 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002286/0.744, allocations: 158.5 kB / 0.9395 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.7441, allocations: 337.9 kB / 0.9398 GB, free: 0.6094 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.7447, allocations: 269.8 kB / 0.94 GB, free: 356 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.7453, allocations: 366.8 kB / 0.9404 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7464, allocations: 0.6072 MB / 0.941 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.7464, allocations: 0 / 0.941 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001875/0.7483, allocations: 0.8602 MB / 0.9418 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.7483, allocations: 4 kB / 0.9418 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7483, allocations: 0 / 0.9418 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005765/0.7489, allocations: 84.86 kB / 0.9419 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006196/0.7496, allocations: 159.5 kB / 0.9421 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002015/0.7516, allocations: 1.65 MB / 0.9437 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006599/0.7523, allocations: 91.42 kB / 0.9438 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/0.7523, allocations: 39.97 kB / 0.9438 GB, free: 12.32 MB / 0.7012 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.0003911/0.7527, allocations: 295.5 kB / 0.9441 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001658/0.7529, allocations: 102.7 kB / 0.9442 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002294/0.7552, allocations: 1.074 MB / 0.9452 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.7552, allocations: 8 kB / 0.9452 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.7552, allocations: 0 / 0.9452 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.7552, allocations: 11.92 kB / 0.9453 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00103/0.7563, allocations: 1.001 MB / 0.9462 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.7563, allocations: 0 / 0.9462 GB, free: 9.773 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000555/0.7569, allocations: 143.8 kB / 0.9464 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004272/0.7573, allocations: 76.73 kB / 0.9464 GB, free: 9.555 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.7574, allocations: 27.97 kB / 0.9465 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.7592, allocations: 1.663 MB / 0.9481 GB, free: 7.719 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.7592, allocations: 8.094 kB / 0.9481 GB, free: 7.711 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.7611, allocations: 0.9354 MB / 0.949 GB, free: 6.754 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.7614, allocations: 299.4 kB / 0.9493 GB, free: 6.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7615, allocations: 16 kB / 0.9493 GB, free: 6.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005993/0.7621, allocations: 59.94 kB / 0.9494 GB, free: 6.367 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.7623, allocations: 72.89 kB / 0.9494 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.205e-05/0.7624, allocations: 36.05 kB / 0.9495 GB, free: 6.262 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0006654/0.763, allocations: 0.5581 MB / 0.95 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.362e-06/0.763, allocations: 0 / 0.95 GB, free: 5.691 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0007509/0.7638, allocations: 339 kB / 0.9503 GB, free: 5.359 MB / 0.7012 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.001262/0.7651, allocations: 0.6141 MB / 0.9509 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001555/0.7666, allocations: 0.8244 MB / 0.9517 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.7666, allocations: 4 kB / 0.9517 GB, free: 4.086 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.7676, allocations: 0.5199 MB / 0.9523 GB, free: 3.555 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.769, allocations: 454.7 kB / 0.9527 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003805/0.7729, allocations: 2.019 MB / 0.9547 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006193/0.7735, allocations: 1.101 MB / 0.9557 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000757/0.7743, allocations: 287.5 kB / 0.956 GB, free: 15.69 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.7745, allocations: 115.4 kB / 0.9561 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of SimCode: time 3.11e-07/0.7745, allocations: 4 kB / 0.9561 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of Templates: time 0.02566/0.8002, allocations: 16.96 MB / 0.9727 GB, free: 14.77 MB / 0.7325 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)