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.001046/0.001046, allocations: 108 kB / 15.61 MB, free: 152 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.0021/0.0021, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.416/1.416, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003375/0.003375, allocations: 279.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.2 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 97.31 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1432, allocations: 86.97 MB / 0.6803 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006847/0.15, allocations: 5.105 MB / 0.6853 GB, free: 11.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4213/0.5713, allocations: 150.8 MB / 0.8326 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008668/0.5722, allocations: 27.66 kB / 0.8326 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006445/0.5729, allocations: 341.8 kB / 0.8329 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.5743, allocations: 0.5235 MB / 0.8334 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001869/0.5762, allocations: 0.8446 MB / 0.8343 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00137/0.5776, allocations: 1.478 MB / 0.8357 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000999/0.5786, allocations: 0.8101 MB / 0.8365 GB, free: 384 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.5792, allocations: 0.5304 MB / 0.837 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.5797, allocations: 0.5529 MB / 0.8375 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.5799, allocations: 132 kB / 0.8377 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007945/0.5807, allocations: 475.8 kB / 0.8381 GB, free: 96 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002573/0.5809, allocations: 334 kB / 0.8384 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005664/0.5815, allocations: 0.6462 MB / 0.8391 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.5835, allocations: 1.839 MB / 0.8409 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.5835, allocations: 0 / 0.8409 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5835, allocations: 4 kB / 0.8409 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.097e-05/0.5836, allocations: 0 / 0.8409 GB, free: 15.54 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.002713/0.5863, allocations: 1.672 MB / 0.8425 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5863, allocations: 8.812 kB / 0.8425 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001807/0.5865, allocations: 153.2 kB / 0.8427 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009899/0.5875, allocations: 226.5 kB / 0.8429 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5889, allocations: 0.8874 MB / 0.8437 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/0.589, allocations: 77.14 kB / 0.8438 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.5892, allocations: 94.38 kB / 0.8439 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.591, allocations: 1.035 MB / 0.8449 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.5911, allocations: 0 / 0.8449 GB, free: 13.13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-05/0.5912, allocations: 41.59 kB / 0.845 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.5912, allocations: 24.16 kB / 0.845 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5929, allocations: 1.175 MB / 0.8461 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.5971, allocations: 2.832 MB / 0.8489 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.5985, allocations: 0.7937 MB / 0.8497 GB, free: 10 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004871/0.599, allocations: 304.4 kB / 0.85 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.924e-05/0.5991, allocations: 31.06 kB / 0.85 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008685/0.6, allocations: 0.4894 MB / 0.8505 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 2.264e-06/0.6, allocations: 0 / 0.8505 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002944/0.6029, allocations: 1.203 MB / 0.8516 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.744e-05/0.603, allocations: 198.7 kB / 0.8518 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009338/0.604, allocations: 0.7962 MB / 0.8526 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.604, allocations: 40.27 kB / 0.8526 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003685/0.6044, allocations: 0.5097 MB / 0.8531 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.6046, allocations: 252.1 kB / 0.8534 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.6048, allocations: 144.2 kB / 0.8535 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.605, allocations: 333.5 kB / 0.8538 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.6054, allocations: 252.5 kB / 0.8541 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005679/0.606, allocations: 353 kB / 0.8544 GB, free: 6.707 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.607, allocations: 0.577 MB / 0.855 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6071, allocations: 0 / 0.855 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001815/0.6089, allocations: 0.821 MB / 0.8558 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.6089, allocations: 4.812 kB / 0.8558 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6089, allocations: 3.531 kB / 0.8558 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005923/0.6095, allocations: 83.61 kB / 0.8559 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.6101, allocations: 151.6 kB / 0.856 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.6122, allocations: 1.647 MB / 0.8576 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006974/0.6129, allocations: 86.98 kB / 0.8577 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.613, allocations: 25.36 kB / 0.8577 GB, free: 4.211 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.000483/0.6135, allocations: 308.1 kB / 0.858 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.6137, allocations: 106.5 kB / 0.8581 GB, free: 3.914 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.616, allocations: 1.073 MB / 0.8592 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6161, allocations: 9.812 kB / 0.8592 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6161, allocations: 3.938 kB / 0.8592 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.6161, allocations: 3.984 kB / 0.8592 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.6173, allocations: 1.016 MB / 0.8602 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6173, allocations: 0 / 0.8602 GB, free: 2.578 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005355/0.6178, allocations: 139.9 kB / 0.8603 GB, free: 2.547 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004397/0.6183, allocations: 74.78 kB / 0.8604 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.6184, allocations: 26.11 kB / 0.8604 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001848/0.6202, allocations: 1.672 MB / 0.862 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.6202, allocations: 0 / 0.862 GB, free: 0.8594 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.6222, allocations: 0.9436 MB / 0.863 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004002/0.6226, allocations: 287.8 kB / 0.8632 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/0.6227, allocations: 25.25 kB / 0.8633 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006267/0.6234, allocations: 61.8 kB / 0.8633 GB, free: 56 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6235, allocations: 65.56 kB / 0.8634 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.6236, allocations: 42.97 kB / 0.8634 GB, free: 0 / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007084/0.6244, allocations: 0.5582 MB / 0.864 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6244, allocations: 0 / 0.864 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008364/0.6252, allocations: 331.3 kB / 0.8643 GB, free: 15.56 MB / 0.5919 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.003625/0.6288, allocations: 1.995 MB / 0.8662 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.6311, allocations: 0.9913 MB / 0.8672 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6311, allocations: 0 / 0.8672 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.632, allocations: 0.5159 MB / 0.8677 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.6336, allocations: 473.1 kB / 0.8682 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.646, allocations: 7.439 MB / 0.8754 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007431/0.6468, allocations: 1.098 MB / 0.8765 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009811/0.6478, allocations: 275.7 kB / 0.8768 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006176/0.6484, allocations: 479.2 kB / 0.8772 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of SimCode: time 6.21e-07/0.6484, allocations: 0 / 0.8772 GB, free: 6.945 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.558/1.206, allocations: 25.1 MB / 0.9017 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/12.88, allocations: 10.47 kB / 0.9017 GB, free: 14.21 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)