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.001068/0.001068, allocations: 108 kB / 15.61 MB, free: 128 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.001122/0.001122, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.26/1.26, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002029/0.002029, allocations: 286.4 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8921/0.8921, allocations: 169.3 MB / 0.4982 GB, free: 13.97 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001674/0.001674, allocations: 92.19 kB / 0.5953 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1362, allocations: 86.99 MB / 0.6803 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006047/0.1422, allocations: 5.097 MB / 0.6853 GB, free: 11.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4312/0.5735, allocations: 150.8 MB / 0.8326 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.5745, allocations: 22.75 kB / 0.8326 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.5753, allocations: 346.2 kB / 0.8329 GB, free: 1.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.5766, allocations: 0.5177 MB / 0.8334 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001605/0.5782, allocations: 0.8578 MB / 0.8343 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001154/0.5794, allocations: 1.468 MB / 0.8357 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000881/0.5803, allocations: 0.8119 MB / 0.8365 GB, free: 348 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005546/0.5808, allocations: 0.5262 MB / 0.837 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004684/0.5813, allocations: 0.5598 MB / 0.8376 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001793/0.5815, allocations: 131.1 kB / 0.8377 GB, free: 76 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007755/0.5823, allocations: 473.1 kB / 0.8381 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.5825, allocations: 335 kB / 0.8384 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004556/0.583, allocations: 0.6464 MB / 0.8391 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.5845, allocations: 1.836 MB / 0.8409 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5845, allocations: 0 / 0.8409 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5846, allocations: 0 / 0.8409 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.561e-05/0.5846, allocations: 4 kB / 0.8409 GB, free: 15.51 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.002528/0.5871, allocations: 1.675 MB / 0.8425 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5872, allocations: 12.84 kB / 0.8425 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.5873, allocations: 157.5 kB / 0.8427 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.5883, allocations: 218.1 kB / 0.8429 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.5893, allocations: 0.8865 MB / 0.8437 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.577e-05/0.5894, allocations: 74.59 kB / 0.8438 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000109/0.5895, allocations: 105.5 kB / 0.8439 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/0.5911, allocations: 1.031 MB / 0.8449 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.5911, allocations: 0 / 0.8449 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.764e-05/0.5912, allocations: 46.45 kB / 0.845 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.5912, allocations: 23.22 kB / 0.845 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.5929, allocations: 1.166 MB / 0.8461 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003761/0.5966, allocations: 2.835 MB / 0.8489 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.598, allocations: 0.7892 MB / 0.8497 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.5985, allocations: 303.8 kB / 0.85 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.285e-05/0.5985, allocations: 32.25 kB / 0.85 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008328/0.5994, allocations: 0.4902 MB / 0.8505 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=78): time 1.914e-06/0.5994, allocations: 0 / 0.8505 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=78): time 0.002943/0.6023, allocations: 1.211 MB / 0.8517 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.6025, allocations: 192.5 kB / 0.8518 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008913/0.6034, allocations: 0.7951 MB / 0.8526 GB, free: 8.164 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.527e-05/0.6034, allocations: 42.64 kB / 0.8527 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.6038, allocations: 0.5093 MB / 0.8532 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.6041, allocations: 252.3 kB / 0.8534 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.6043, allocations: 142.5 kB / 0.8535 GB, free: 7.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6044, allocations: 342.1 kB / 0.8539 GB, free: 7.039 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004937/0.6049, allocations: 242.4 kB / 0.8541 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.6056, allocations: 352.6 kB / 0.8544 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.6066, allocations: 0.582 MB / 0.855 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.6067, allocations: 0 / 0.855 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001819/0.6085, allocations: 0.8204 MB / 0.8558 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.6085, allocations: 5.688 kB / 0.8558 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.6085, allocations: 0 / 0.8558 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005989/0.6091, allocations: 81.5 kB / 0.8559 GB, free: 5.914 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005755/0.6097, allocations: 148.4 kB / 0.856 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/0.6117, allocations: 1.647 MB / 0.8576 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007361/0.6125, allocations: 77.64 kB / 0.8577 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.6125, allocations: 34.48 kB / 0.8577 GB, free: 4.203 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.0005519/0.6131, allocations: 307.7 kB / 0.858 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6133, allocations: 106.8 kB / 0.8581 GB, free: 3.906 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.6155, allocations: 1.065 MB / 0.8592 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.6155, allocations: 15.41 kB / 0.8592 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.6155, allocations: 6.219 kB / 0.8592 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6155, allocations: 7.969 kB / 0.8592 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.6165, allocations: 1.008 MB / 0.8602 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.6166, allocations: 0 / 0.8602 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005207/0.6171, allocations: 139.5 kB / 0.8603 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004258/0.6175, allocations: 78.47 kB / 0.8604 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.62e-05/0.6176, allocations: 23.7 kB / 0.8604 GB, free: 2.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6195, allocations: 1.674 MB / 0.862 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6195, allocations: 3.75 kB / 0.862 GB, free: 0.8516 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.6214, allocations: 0.9452 MB / 0.863 GB, free: 356 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.6217, allocations: 292.1 kB / 0.8632 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/0.6219, allocations: 24.83 kB / 0.8633 GB, free: 76 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.6225, allocations: 61.11 kB / 0.8633 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/0.6226, allocations: 69.42 kB / 0.8634 GB, free: 8 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.67e-05/0.6227, allocations: 32.33 kB / 0.8634 GB, free: 16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006384/0.6233, allocations: 0.5621 MB / 0.864 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6233, allocations: 0 / 0.864 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0007615/0.6241, allocations: 336.3 kB / 0.8643 GB, free: 15.55 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.003126/0.6272, allocations: 1.985 MB / 0.8662 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002046/0.6293, allocations: 0.9986 MB / 0.8672 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.6293, allocations: 2.562 kB / 0.8672 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008143/0.6301, allocations: 0.5082 MB / 0.8677 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6317, allocations: 467.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.0108/0.6425, allocations: 7.44 MB / 0.8754 GB, free: 8.609 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.6431, allocations: 1.102 MB / 0.8765 GB, free: 7.652 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008675/0.644, allocations: 279.6 kB / 0.8768 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.6445, allocations: 479.2 kB / 0.8772 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of SimCode: time 4.51e-07/0.6445, allocations: 0 / 0.8772 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05336/0.6979, allocations: 25.09 MB / 0.9017 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.74/11.44, allocations: 13.16 kB / 0.9017 GB, free: 14.18 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 BuildingSystems_BuildingSystems_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)