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.001413/0.001413, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001738/0.001738, allocations: 191.4 kB / 16.25 MB, free: 6.629 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001938/0.001938, allocations: 284.2 kB / 290.3 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8704/0.8704, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 97.81 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1293, allocations: 86.97 MB / 0.6797 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005875/0.1351, allocations: 5.093 MB / 0.6847 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3659/0.5011, allocations: 148.6 MB / 0.8298 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.5019, allocations: 22.62 kB / 0.8298 GB, free: 0.7734 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.5025, allocations: 296.9 kB / 0.8301 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001147/0.5037, allocations: 468.5 kB / 0.8306 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.505, allocations: 0.7567 MB / 0.8313 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0009464/0.506, allocations: 1.483 MB / 0.8328 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/0.5068, allocations: 0.8139 MB / 0.8336 GB, free: 92 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.5072, allocations: 0.5291 MB / 0.8341 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004291/0.5077, allocations: 0.5542 MB / 0.8346 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.5078, allocations: 133.2 kB / 0.8347 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005817/0.5084, allocations: 475.2 kB / 0.8352 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000201/0.5086, allocations: 338.6 kB / 0.8355 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003655/0.509, allocations: 0.6403 MB / 0.8361 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.5102, allocations: 1.842 MB / 0.8379 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.5102, allocations: 3.375 kB / 0.8379 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5103, allocations: 0 / 0.8379 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5103, allocations: 4 kB / 0.8379 GB, free: 15.25 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.002175/0.5125, allocations: 1.668 MB / 0.8396 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.5125, allocations: 8.25 kB / 0.8396 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.5126, allocations: 156.4 kB / 0.8397 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008311/0.5135, allocations: 220.7 kB / 0.8399 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009514/0.5144, allocations: 0.8873 MB / 0.8408 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.103e-05/0.5145, allocations: 78.81 kB / 0.8409 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.5146, allocations: 94.38 kB / 0.841 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.5161, allocations: 1.039 MB / 0.842 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5161, allocations: 0.5625 kB / 0.842 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.772e-05/0.5162, allocations: 41.88 kB / 0.842 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/0.5162, allocations: 23.25 kB / 0.8421 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001547/0.5178, allocations: 1.173 MB / 0.8432 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003394/0.5212, allocations: 2.83 MB / 0.846 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5224, allocations: 0.8009 MB / 0.8467 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004366/0.5228, allocations: 308.5 kB / 0.847 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.494e-05/0.5229, allocations: 31.33 kB / 0.8471 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.5237, allocations: 490.2 kB / 0.8475 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 1.773e-06/0.5237, allocations: 3.938 kB / 0.8475 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.00267/0.5264, allocations: 1.205 MB / 0.8487 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.636e-05/0.5264, allocations: 191.9 kB / 0.8489 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007564/0.5272, allocations: 0.7968 MB / 0.8497 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.138e-05/0.5273, allocations: 44.38 kB / 0.8497 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002949/0.5276, allocations: 0.5073 MB / 0.8502 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.5277, allocations: 251 kB / 0.8505 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.5279, allocations: 150.4 kB / 0.8506 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.239e-05/0.528, allocations: 337.7 kB / 0.8509 GB, free: 7.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.5285, allocations: 242.7 kB / 0.8512 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.529, allocations: 354.5 kB / 0.8515 GB, free: 7.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008796/0.5298, allocations: 0.5809 MB / 0.8521 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5299, allocations: 0 / 0.8521 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001606/0.5315, allocations: 0.8161 MB / 0.8529 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.5315, allocations: 4.469 kB / 0.8529 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5315, allocations: 2.906 kB / 0.8529 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000544/0.5321, allocations: 79.22 kB / 0.8529 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.5326, allocations: 152.3 kB / 0.8531 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.5344, allocations: 1.649 MB / 0.8547 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005535/0.5349, allocations: 80.14 kB / 0.8548 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/0.535, allocations: 35.91 kB / 0.8548 GB, free: 4.754 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.000326/0.5353, allocations: 292.7 kB / 0.8551 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.5355, allocations: 106.8 kB / 0.8552 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.5375, allocations: 1.066 MB / 0.8562 GB, free: 3.879 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5375, allocations: 18.23 kB / 0.8562 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5375, allocations: 7.938 kB / 0.8562 GB, free: 3.863 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.5376, allocations: 7.984 kB / 0.8563 GB, free: 3.855 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008863/0.5384, allocations: 1.01 MB / 0.8572 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5385, allocations: 3.984 kB / 0.8572 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.539, allocations: 137.1 kB / 0.8574 GB, free: 3.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003987/0.5394, allocations: 78.81 kB / 0.8575 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.103e-05/0.5394, allocations: 27.34 kB / 0.8575 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.541, allocations: 1.667 MB / 0.8591 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.541, allocations: 0 / 0.8591 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.5427, allocations: 0.9438 MB / 0.86 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.543, allocations: 293.6 kB / 0.8603 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.5431, allocations: 23.75 kB / 0.8603 GB, free: 0.6367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.5437, allocations: 59.47 kB / 0.8604 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.5438, allocations: 70.08 kB / 0.8605 GB, free: 0.5703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.808e-05/0.5439, allocations: 38.33 kB / 0.8605 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005431/0.5444, allocations: 0.5583 MB / 0.861 GB, free: 228 kB / 0.5762 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5444, allocations: 0 / 0.861 GB, free: 228 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0006176/0.5451, allocations: 332.2 kB / 0.8614 GB, free: 124 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.002944/0.548, allocations: 1.993 MB / 0.8633 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.5499, allocations: 0.9974 MB / 0.8643 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.155e-06/0.5499, allocations: 2.781 kB / 0.8643 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007875/0.5507, allocations: 0.5122 MB / 0.8648 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.5521, allocations: 466 kB / 0.8652 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/0.5636, allocations: 7.911 MB / 0.8729 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.5641, allocations: 1.091 MB / 0.874 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007478/0.5649, allocations: 294.1 kB / 0.8743 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005154/0.5654, allocations: 477.6 kB / 0.8747 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/0.5654, allocations: 0 / 0.8747 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.919/2.484, allocations: 24.9 MB / 0.8991 GB, free: 15 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/2.484, allocations: 303.5 kB / 0.8994 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/4.889, allocations: 0 / 0.8994 GB, free: 14.63 MB / 0.6231 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)