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.005343/0.005343, allocations: 102 kB / 15.73 MB, free: 6.039 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.001181/0.001181, allocations: 194 kB / 16.67 MB, free: 5.961 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00198/0.00198, allocations: 305.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8798/0.8798, allocations: 169.2 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 87.86 kB / 0.6809 GB, free: 7.488 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4024, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007168/0.4096, allocations: 5.119 MB / 0.7709 GB, free: 14.72 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1568/0.5665, allocations: 150.8 MB / 0.9182 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001019/0.5676, allocations: 23.88 kB / 0.9182 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009872/0.5686, allocations: 337.5 kB / 0.9185 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001973/0.5706, allocations: 0.5318 MB / 0.919 GB, free: 6.398 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002019/0.5727, allocations: 0.8547 MB / 0.9199 GB, free: 5.551 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.5744, allocations: 1.477 MB / 0.9213 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.5756, allocations: 0.8255 MB / 0.9221 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007416/0.5763, allocations: 0.5253 MB / 0.9226 GB, free: 2.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007139/0.5771, allocations: 0.5598 MB / 0.9232 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000261/0.5773, allocations: 132 kB / 0.9233 GB, free: 1.988 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.5783, allocations: 0.4918 MB / 0.9238 GB, free: 1.496 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.5786, allocations: 330.9 kB / 0.9241 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006855/0.5793, allocations: 0.6488 MB / 0.9247 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002214/0.5815, allocations: 1.888 MB / 0.9266 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5816, allocations: 0 / 0.9266 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5816, allocations: 0 / 0.9266 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.618e-05/0.5816, allocations: 0 / 0.9266 GB, free: 14.62 MB / 0.7012 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.00301/0.5846, allocations: 1.681 MB / 0.9282 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.5847, allocations: 8.031 kB / 0.9282 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002169/0.5849, allocations: 164.4 kB / 0.9284 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009616/0.5859, allocations: 219 kB / 0.9286 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/0.5873, allocations: 0.906 MB / 0.9295 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.201e-05/0.5874, allocations: 77.98 kB / 0.9295 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.5875, allocations: 99.94 kB / 0.9296 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.5892, allocations: 1.028 MB / 0.9306 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5893, allocations: 4 kB / 0.9307 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.5894, allocations: 44 kB / 0.9307 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.5894, allocations: 24 kB / 0.9307 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.5912, allocations: 1.167 MB / 0.9319 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004189/0.5954, allocations: 2.796 MB / 0.9346 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.5968, allocations: 0.7963 MB / 0.9354 GB, free: 5.395 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004951/0.5973, allocations: 298.7 kB / 0.9356 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 6.945e-05/0.5974, allocations: 32.61 kB / 0.9357 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008194/0.5982, allocations: 0.4951 MB / 0.9362 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=78): time 2.384e-06/0.5982, allocations: 0 / 0.9362 GB, free: 4.555 MB / 0.7012 GB Notification: Performance of matching and sorting (n=78): time 0.003028/0.6013, allocations: 1.201 MB / 0.9373 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/0.6014, allocations: 196.5 kB / 0.9375 GB, free: 3.09 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00102/0.6024, allocations: 0.7968 MB / 0.9383 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.719e-05/0.6025, allocations: 45.7 kB / 0.9383 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003851/0.6029, allocations: 0.5039 MB / 0.9388 GB, free: 1.703 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6031, allocations: 248.4 kB / 0.9391 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002114/0.6033, allocations: 142.6 kB / 0.9392 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.6034, allocations: 341.9 kB / 0.9395 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004636/0.6039, allocations: 241.9 kB / 0.9398 GB, free: 0.7383 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/0.6045, allocations: 354.6 kB / 0.9401 GB, free: 376 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6055, allocations: 0.5799 MB / 0.9407 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6056, allocations: 0 / 0.9407 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001838/0.6074, allocations: 0.8134 MB / 0.9415 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6074, allocations: 4 kB / 0.9415 GB, free: 14.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6074, allocations: 4.094 kB / 0.9415 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005864/0.608, allocations: 88.7 kB / 0.9416 GB, free: 14.85 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/0.6086, allocations: 147.8 kB / 0.9417 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002166/0.6108, allocations: 1.642 MB / 0.9433 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007194/0.6115, allocations: 95.31 kB / 0.9434 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-05/0.6116, allocations: 35.97 kB / 0.9434 GB, free: 12.79 MB / 0.7169 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.0005032/0.6121, allocations: 300.1 kB / 0.9437 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.6123, allocations: 98.78 kB / 0.9438 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002278/0.6146, allocations: 1.068 MB / 0.9449 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.6146, allocations: 11.94 kB / 0.9449 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6147, allocations: 7.938 kB / 0.9449 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.6147, allocations: 3.984 kB / 0.9449 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.6159, allocations: 1.005 MB / 0.9459 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.6159, allocations: 0 / 0.9459 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005496/0.6165, allocations: 139.8 kB / 0.946 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000451/0.617, allocations: 72.78 kB / 0.9461 GB, free: 10.03 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.31e-05/0.617, allocations: 23.98 kB / 0.9461 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001872/0.6189, allocations: 1.681 MB / 0.9477 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.6189, allocations: 0 / 0.9477 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.6209, allocations: 0.9433 MB / 0.9486 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.6213, allocations: 287.5 kB / 0.9489 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001451/0.6214, allocations: 20 kB / 0.9489 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006086/0.6221, allocations: 66.42 kB / 0.949 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.6222, allocations: 72.84 kB / 0.9491 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.6223, allocations: 35.97 kB / 0.9491 GB, free: 6.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007075/0.623, allocations: 0.5581 MB / 0.9497 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.623, allocations: 0 / 0.9497 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000831/0.6238, allocations: 327 kB / 0.95 GB, free: 5.832 MB / 0.7169 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.003357/0.6272, allocations: 1.999 MB / 0.9519 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001613/0.6288, allocations: 0.7883 MB / 0.9527 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.6288, allocations: 192 / 0.9527 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000882/0.6297, allocations: 0.5159 MB / 0.9532 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/0.6314, allocations: 462.9 kB / 0.9536 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3178/0.9492, allocations: 7.056 MB / 0.9605 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005839/0.9498, allocations: 1.105 MB / 0.9616 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009514/0.9507, allocations: 282.6 kB / 0.9619 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005486/0.9513, allocations: 471.9 kB / 0.9623 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of SimCode: time 7.92e-07/0.9513, allocations: 0 / 0.9623 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04781/0.9991, allocations: 25.85 MB / 0.9876 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.07/13.07, allocations: 7.797 kB / 0.9876 GB, free: 164.7 MB / 0.7169 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)