Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,fileNamePrefix="IDEAS_dev_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.00167/0.00167, allocations: 173.7 kB / 7.646 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.7926/0.7926, 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.528/1.528, allocations: 221.5 MB / 395.4 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.0008867/0.0008868, allocations: 98.58 kB / 478.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.969e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4493, allocations: 82.3 MB / 0.6339 GB, free: 40.7 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.74/4.19, allocations: 1.694 GB / 2.328 GB, free: 42.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/4.19, allocations: 84.27 kB / 2.328 GB, free: 42.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5894/4.78, allocations: 63.16 MB / 2.39 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.094e-06/4.78, allocations: 0 / 2.39 GB, free: 233.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001737/4.78, allocations: 37.03 kB / 2.39 GB, free: 233.8 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.002804/4.783, allocations: 1.231 MB / 2.391 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/4.783, allocations: 15.17 kB / 2.391 GB, free: 233.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/4.784, allocations: 212.7 kB / 2.391 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/4.785, allocations: 0.785 MB / 2.392 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-05/4.785, allocations: 31.28 kB / 2.392 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.545e-05/4.785, allocations: 53.06 kB / 2.392 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001502/4.787, allocations: 1.018 MB / 2.393 GB, free: 232.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/4.788, allocations: 0.8112 MB / 2.394 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.238e-05/4.788, allocations: 0 / 2.394 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/4.788, allocations: 3.844 kB / 2.394 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.863e-05/4.788, allocations: 21.53 kB / 2.394 GB, free: 232.5 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/4.792, allocations: 2.542 MB / 2.396 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/4.793, allocations: 0.6351 MB / 2.397 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/4.793, allocations: 234.4 kB / 2.397 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.784e-05/4.794, allocations: 39.44 kB / 2.397 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005627/4.794, allocations: 371.5 kB / 2.398 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.607e-06/4.794, allocations: 2.031 kB / 2.398 GB, free: 231.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001598/4.796, allocations: 0.6431 MB / 2.398 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/4.796, allocations: 241.2 kB / 2.399 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/4.797, allocations: 0.6099 MB / 2.399 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/4.797, allocations: 31.83 kB / 2.399 GB, free: 231.2 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/4.797, allocations: 493.8 kB / 2.4 GB, free: 231 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/4.797, allocations: 214.5 kB / 2.4 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/4.797, allocations: 3.562 kB / 2.4 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.306e-05/4.797, allocations: 332.9 kB / 2.4 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002507/4.798, allocations: 184.3 kB / 2.4 GB, free: 230.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/4.798, allocations: 281.6 kB / 2.401 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003605/4.798, allocations: 231.9 kB / 2.401 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/4.798, allocations: 5.922 kB / 2.401 GB, free: 230.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001361/4.8, allocations: 0.643 MB / 2.401 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/4.8, allocations: 11.77 kB / 2.401 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/4.8, allocations: 0 / 2.401 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006079/4.801, allocations: 79.89 kB / 2.402 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/4.801, allocations: 138 kB / 2.402 GB, free: 230.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/4.803, allocations: 1.465 MB / 2.403 GB, free: 229.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/4.803, allocations: 62 kB / 2.403 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/4.803, allocations: 28.95 kB / 2.403 GB, free: 229 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.0001705/4.804, allocations: 124.8 kB / 2.403 GB, free: 228.9 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001315/4.805, allocations: 0.646 MB / 2.404 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/4.805, allocations: 85.16 kB / 2.404 GB, free: 228.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/4.807, allocations: 0.8921 MB / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/4.807, allocations: 7.75 kB / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/4.807, allocations: 0 / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/4.807, allocations: 7.609 kB / 2.405 GB, free: 228.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/4.808, allocations: 0.8268 MB / 2.406 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/4.808, allocations: 5.531 kB / 2.406 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/4.808, allocations: 137.6 kB / 2.406 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004844/4.809, allocations: 79.86 kB / 2.406 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.618e-05/4.809, allocations: 16.34 kB / 2.406 GB, free: 228.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/4.81, allocations: 1.495 MB / 2.407 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/4.81, allocations: 0 / 2.407 GB, free: 227.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001414/4.812, allocations: 0.7552 MB / 2.408 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003971/4.812, allocations: 293.1 kB / 2.408 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/4.812, allocations: 0 / 2.408 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/4.813, allocations: 51.78 kB / 2.408 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/4.813, allocations: 58.78 kB / 2.409 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.192e-05/4.813, allocations: 25.84 kB / 2.409 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006315/4.814, allocations: 497.2 kB / 2.409 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.21e-07/4.814, allocations: 0 / 2.409 GB, free: 226.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001134/4.815, allocations: 346.3 kB / 2.409 GB, free: 226.8 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.003435/4.818, allocations: 2.292 MB / 2.412 GB, free: 225.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001175/4.819, allocations: 0.6253 MB / 2.412 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/4.82, allocations: 3.906 kB / 2.412 GB, free: 225.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005999/4.82, allocations: 435.9 kB / 2.413 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/4.822, allocations: 357 kB / 2.413 GB, free: 225.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/4.827, allocations: 1.678 MB / 2.415 GB, free: 224.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/4.827, allocations: 1.102 MB / 2.416 GB, free: 223.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009108/4.828, allocations: 270.6 kB / 2.416 GB, free: 223.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005697/4.829, allocations: 435.6 kB / 2.416 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/4.829, allocations: 0 / 2.416 GB, free: 223.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0556/4.884, allocations: 26.39 MB / 2.442 GB, free: 207.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/4.884, allocations: 183.1 kB / 2.442 GB, free: 207 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.077/7.961, allocations: 0 / 2.442 GB, free: 207 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation_fmu --startTime=0 --stopTime=864000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_IO_SignalExchange_Examples_WeatherStation.fmu > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)