Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8541/0.8541, allocations: 133.6 MB / 141.6 MB, free: 2.895 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 395.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008728/0.0008727, allocations: 97.83 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.556e-05, allocations: 3.984 kB / 0.5536 GB, free: 8.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4221/0.4221, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.08/4.503, allocations: 1.694 GB / 2.328 GB, free: 78.96 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/4.503, allocations: 87.95 kB / 2.328 GB, free: 78.88 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1888/4.692, allocations: 63.16 MB / 2.39 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/4.692, allocations: 0 / 2.39 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001677/4.692, allocations: 35.94 kB / 2.39 GB, free: 15.36 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 239 * Number of variables: 239 Notification: Performance of Generate backend data structure: time 0.003097/4.695, allocations: 1.234 MB / 2.391 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/4.695, allocations: 8.031 kB / 2.391 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/4.697, allocations: 222.1 kB / 2.391 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/4.699, allocations: 0.7756 MB / 2.392 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/4.699, allocations: 32 kB / 2.392 GB, free: 13 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/4.699, allocations: 56 kB / 2.392 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002344/4.701, allocations: 1.023 MB / 2.393 GB, free: 11.92 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/4.703, allocations: 0.8013 MB / 2.394 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/4.703, allocations: 4 kB / 2.394 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/4.703, allocations: 4 kB / 2.394 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/4.704, allocations: 27.95 kB / 2.394 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005584/4.709, allocations: 2.536 MB / 2.396 GB, free: 8.449 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/4.71, allocations: 0.6318 MB / 2.397 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004712/4.711, allocations: 234.4 kB / 2.397 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001171/4.711, allocations: 32.58 kB / 2.397 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00081/4.712, allocations: 384.7 kB / 2.398 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 5.29e-06/4.712, allocations: 0 / 2.398 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.002245/4.714, allocations: 0.6404 MB / 2.398 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/4.714, allocations: 243.9 kB / 2.399 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/4.716, allocations: 0.6135 MB / 2.399 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/4.716, allocations: 29.7 kB / 2.399 GB, free: 5.555 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/4.716, allocations: 499.7 kB / 2.4 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/4.716, allocations: 216.8 kB / 2.4 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.527e-05/4.716, allocations: 0 / 2.4 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/4.717, allocations: 322 kB / 2.4 GB, free: 4.523 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/4.717, allocations: 189.5 kB / 2.4 GB, free: 4.34 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/4.718, allocations: 287.5 kB / 2.401 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005378/4.718, allocations: 224.5 kB / 2.401 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/4.718, allocations: 0 / 2.401 GB, free: 3.809 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002048/4.72, allocations: 0.6522 MB / 2.401 GB, free: 3.145 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/4.72, allocations: 4 kB / 2.401 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/4.72, allocations: 0 / 2.401 GB, free: 3.141 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008858/4.721, allocations: 88.78 kB / 2.402 GB, free: 3.051 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/4.722, allocations: 127.9 kB / 2.402 GB, free: 2.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/4.724, allocations: 1.477 MB / 2.403 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008561/4.725, allocations: 63.59 kB / 2.403 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/4.725, allocations: 23.98 kB / 2.403 GB, free: 1.238 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002384/4.726, allocations: 116.9 kB / 2.403 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001959/4.727, allocations: 0.6548 MB / 2.404 GB, free: 464 kB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002618/4.728, allocations: 82.97 kB / 2.404 GB, free: 380 kB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.596/5.324, allocations: 0.8811 MB / 2.405 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.011e-05/5.324, allocations: 10.12 kB / 2.405 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/5.324, allocations: 0.7031 kB / 2.405 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/5.324, allocations: 3.938 kB / 2.405 GB, free: 224.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/5.326, allocations: 0.8159 MB / 2.406 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/5.326, allocations: 0 / 2.406 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009284/5.327, allocations: 141.4 kB / 2.406 GB, free: 224.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007414/5.328, allocations: 92.78 kB / 2.406 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.552e-05/5.328, allocations: 14.25 kB / 2.406 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002482/5.33, allocations: 1.488 MB / 2.407 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/5.33, allocations: 0.75 kB / 2.407 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/5.333, allocations: 0.7555 MB / 2.408 GB, free: 223.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/5.334, allocations: 293 kB / 2.408 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000147/5.334, allocations: 7.375 kB / 2.408 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007768/5.335, allocations: 47.75 kB / 2.408 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002164/5.335, allocations: 60.59 kB / 2.409 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/5.335, allocations: 31.28 kB / 2.409 GB, free: 223.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001259/5.337, allocations: 492.5 kB / 2.409 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.9e-07/5.337, allocations: 0 / 2.409 GB, free: 223.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001889/5.339, allocations: 351.7 kB / 2.409 GB, free: 223.1 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006302/5.345, allocations: 2.276 MB / 2.412 GB, free: 222.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002103/5.347, allocations: 0.6308 MB / 2.412 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/5.347, allocations: 0 / 2.412 GB, free: 222.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/5.348, allocations: 435.4 kB / 2.413 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003103/5.352, allocations: 361.9 kB / 2.413 GB, free: 222.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007942/5.359, allocations: 1.68 MB / 2.415 GB, free: 221.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/5.361, allocations: 1.095 MB / 2.416 GB, free: 221 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001893/5.363, allocations: 276.8 kB / 2.416 GB, free: 221 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/5.364, allocations: 430.5 kB / 2.416 GB, free: 221 MB / 0.6823 GB Notification: Performance of SimCode: time 2.474e-06/5.364, allocations: 0 / 2.416 GB, free: 221 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07079/5.434, allocations: 26.39 MB / 2.442 GB, free: 219.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003362/5.435, allocations: 174.3 kB / 2.442 GB, free: 219 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.394/8.828, allocations: 4 kB / 2.442 GB, free: 219 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)