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: "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007515/0.0007513, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004284/0.004284, allocations: 170 kB / 16.26 MB, free: 6.68 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.214/1.214, allocations: 223.3 MB / 240.3 MB, free: 5.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.001633/0.001633, allocations: 274.4 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.866/0.866, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003797/0.0003798, allocations: 22.28 kB / 0.5988 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1334, allocations: 88.54 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004957/0.1384, allocations: 4.653 MB / 0.6898 GB, free: 10.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3997/0.5381, allocations: 146.9 MB / 0.8332 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007376/0.5389, allocations: 25.56 kB / 0.8333 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.5396, allocations: 283.4 kB / 0.8335 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001519/0.5412, allocations: 450 kB / 0.834 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001782/0.543, allocations: 0.7465 MB / 0.8347 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001897/0.5449, allocations: 1.373 MB / 0.836 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001073/0.5459, allocations: 0.7839 MB / 0.8368 GB, free: 9.656 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.5466, allocations: 373.3 kB / 0.8372 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006097/0.5472, allocations: 435.4 kB / 0.8376 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.5473, allocations: 30.91 kB / 0.8376 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007796/0.5481, allocations: 375.7 kB / 0.838 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002231/0.5483, allocations: 201.6 kB / 0.8382 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000465/0.5488, allocations: 0.5366 MB / 0.8387 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001632/0.5505, allocations: 1.718 MB / 0.8404 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.5505, allocations: 0 / 0.8404 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.966e-06/0.5505, allocations: 0 / 0.8404 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.618e-05/0.5505, allocations: 3.938 kB / 0.8404 GB, free: 7.188 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.002223/0.5527, allocations: 1.41 MB / 0.8417 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.5528, allocations: 10.34 kB / 0.8417 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.5529, allocations: 157.5 kB / 0.8419 GB, free: 5.934 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.5538, allocations: 224.1 kB / 0.8421 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5549, allocations: 0.8935 MB / 0.843 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.674e-05/0.555, allocations: 74.38 kB / 0.8431 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.5551, allocations: 96.91 kB / 0.8431 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.5567, allocations: 1.038 MB / 0.8442 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5567, allocations: 4 kB / 0.8442 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.598e-05/0.5568, allocations: 40.75 kB / 0.8442 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5569, allocations: 24.94 kB / 0.8442 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.5585, allocations: 1.169 MB / 0.8454 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003778/0.5623, allocations: 2.867 MB / 0.8482 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/0.5637, allocations: 0.8169 MB / 0.849 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.5642, allocations: 298.4 kB / 0.8492 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.135e-05/0.5642, allocations: 29.89 kB / 0.8493 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007829/0.565, allocations: 498.4 kB / 0.8498 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=78): time 2.184e-06/0.565, allocations: 3.156 kB / 0.8498 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=78): time 0.00285/0.5679, allocations: 1.226 MB / 0.851 GB, free: 84 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.568, allocations: 189.4 kB / 0.8511 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00085/0.5689, allocations: 0.7965 MB / 0.8519 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.278e-05/0.5689, allocations: 51.62 kB / 0.852 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00034/0.5693, allocations: 0.5107 MB / 0.8525 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5695, allocations: 245.5 kB / 0.8527 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.372e-05/0.5696, allocations: 60.75 kB / 0.8528 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.5697, allocations: 334.5 kB / 0.8531 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.5701, allocations: 249.5 kB / 0.8533 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005334/0.5707, allocations: 364.6 kB / 0.8537 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009771/0.5717, allocations: 0.585 MB / 0.8542 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.5717, allocations: 0 / 0.8542 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00169/0.5734, allocations: 0.8253 MB / 0.855 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.5734, allocations: 5.938 kB / 0.855 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.5734, allocations: 0 / 0.855 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005863/0.574, allocations: 95.48 kB / 0.8551 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005638/0.5746, allocations: 149.2 kB / 0.8553 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/0.5764, allocations: 1.54 MB / 0.8568 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.5771, allocations: 96.09 kB / 0.8569 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.5771, allocations: 30.84 kB / 0.8569 GB, free: 11.55 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: 15 (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 (84): * Single equations (assignments): 83 * 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.0003863/0.5775, allocations: 289.3 kB / 0.8572 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.5777, allocations: 108.2 kB / 0.8573 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002222/0.5799, allocations: 1.086 MB / 0.8583 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.385e-06/0.5799, allocations: 11.12 kB / 0.8583 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.5799, allocations: 0 / 0.8583 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.5799, allocations: 3.984 kB / 0.8584 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.581, allocations: 1.014 MB / 0.8593 GB, free: 9.902 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.581, allocations: 6.469 kB / 0.8593 GB, free: 9.898 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.5815, allocations: 142.2 kB / 0.8595 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005119/0.582, allocations: 84.58 kB / 0.8596 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.5821, allocations: 24.11 kB / 0.8596 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001687/0.5838, allocations: 1.556 MB / 0.8611 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5838, allocations: 0 / 0.8611 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.5856, allocations: 0.9569 MB / 0.862 GB, free: 7.781 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003465/0.5859, allocations: 300 kB / 0.8623 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5861, allocations: 21.81 kB / 0.8623 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.5867, allocations: 86.36 kB / 0.8624 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.5869, allocations: 65.56 kB / 0.8625 GB, free: 7.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.303e-05/0.5869, allocations: 34.03 kB / 0.8625 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006455/0.5876, allocations: 0.5625 MB / 0.8631 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5876, allocations: 4 kB / 0.8631 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0007674/0.5884, allocations: 334.9 kB / 0.8634 GB, free: 6.977 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.003182/0.5916, allocations: 2.002 MB / 0.8654 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001476/0.593, allocations: 0.7988 MB / 0.8661 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.676e-06/0.5931, allocations: 0 / 0.8661 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008253/0.5939, allocations: 0.5114 MB / 0.8666 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/0.5955, allocations: 423.3 kB / 0.867 GB, free: 4.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.609, allocations: 7.98 MB / 0.8748 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.6097, allocations: 1.102 MB / 0.8759 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009182/0.6106, allocations: 291.5 kB / 0.8762 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005766/0.6112, allocations: 471.2 kB / 0.8766 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of SimCode: time 4.71e-07/0.6112, allocations: 4 kB / 0.8766 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.306/2.918, allocations: 23.91 MB / 0.9 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/2.918, allocations: 301.3 kB / 0.9003 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.43/5.348, allocations: 0 / 0.9003 GB, free: 2.738 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)