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.0113/0.0113, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.764/0.764, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 406.8 MB, free: 3.246 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.0008947/0.0008947, allocations: 88.02 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003879, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4175, allocations: 82.3 MB / 0.6495 GB, free: 36.16 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.393/4.81, allocations: 1.695 GB / 2.344 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/4.81, allocations: 94.78 kB / 2.344 GB, free: 186.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1493/4.96, allocations: 64.35 MB / 2.407 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.533e-06/4.96, allocations: 3.188 kB / 2.407 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001901/4.96, allocations: 34.34 kB / 2.407 GB, free: 172.9 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.003754/4.964, allocations: 1.379 MB / 2.409 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/4.964, allocations: 9.594 kB / 2.409 GB, free: 171.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004342/4.964, allocations: 148.7 kB / 2.409 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001194/4.965, allocations: 221.1 kB / 2.409 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/4.967, allocations: 0.776 MB / 2.41 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/4.967, allocations: 73.25 kB / 2.41 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/4.968, allocations: 86.97 kB / 2.41 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/4.969, allocations: 0.9711 MB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/4.969, allocations: 3.938 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.854e-05/4.969, allocations: 40.25 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/4.97, allocations: 23.48 kB / 2.411 GB, free: 170.9 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00175/4.971, allocations: 1.123 MB / 2.412 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004424/4.976, allocations: 2.73 MB / 2.415 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/4.977, allocations: 0.7145 MB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.671e-05/4.977, allocations: 31.55 kB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/4.978, allocations: 425.9 kB / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.796e-06/4.978, allocations: 0 / 2.416 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.002534/4.98, allocations: 1.087 MB / 2.417 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.488e-05/4.98, allocations: 251.4 kB / 2.417 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/4.981, allocations: 0.7212 MB / 2.418 GB, free: 168 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/4.981, allocations: 43.98 kB / 2.418 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002822/4.982, allocations: 493.2 kB / 2.418 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001457/4.982, allocations: 231.1 kB / 2.419 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/4.982, allocations: 10.72 kB / 2.419 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/4.982, allocations: 328.3 kB / 2.419 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/4.982, allocations: 212.5 kB / 2.419 GB, free: 167.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00042/4.983, allocations: 324 kB / 2.419 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004141/4.983, allocations: 258.2 kB / 2.42 GB, free: 167 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/4.983, allocations: 3.906 kB / 2.42 GB, free: 167 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00155/4.985, allocations: 0.7218 MB / 2.42 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/4.985, allocations: 11.77 kB / 2.42 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/4.985, allocations: 0 / 2.42 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005862/4.985, allocations: 86.8 kB / 2.421 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/4.986, allocations: 128.8 kB / 2.421 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/4.987, allocations: 1.547 MB / 2.422 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/4.988, allocations: 77.06 kB / 2.422 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/4.988, allocations: 29.95 kB / 2.422 GB, free: 165.3 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 () * Number of clocked 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.0004285/4.989, allocations: 273.7 kB / 2.423 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/4.989, allocations: 97.78 kB / 2.423 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/4.991, allocations: 0.9957 MB / 2.424 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/4.991, allocations: 11.59 kB / 2.424 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/4.991, allocations: 4 kB / 2.424 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/4.991, allocations: 3.984 kB / 2.424 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/4.992, allocations: 0.9692 MB / 2.425 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/4.992, allocations: 0 / 2.425 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/4.992, allocations: 142.4 kB / 2.425 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005057/4.993, allocations: 81.84 kB / 2.425 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.496e-05/4.993, allocations: 20.73 kB / 2.425 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001571/4.995, allocations: 1.58 MB / 2.426 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/4.995, allocations: 0 / 2.426 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/4.996, allocations: 0.8547 MB / 2.427 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/4.997, allocations: 297.2 kB / 2.427 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/4.997, allocations: 13.5 kB / 2.427 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005842/4.997, allocations: 70.31 kB / 2.428 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/4.997, allocations: 56.66 kB / 2.428 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.717e-05/4.997, allocations: 30.98 kB / 2.428 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007458/4.998, allocations: 0.5847 MB / 2.428 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/4.998, allocations: 0 / 2.428 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001327/5, allocations: 373.7 kB / 2.429 GB, free: 162.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) * Number of clocked states: 0 () * 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.003805/5.003, allocations: 2.354 MB / 2.431 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001306/5.005, allocations: 0.7113 MB / 2.432 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/5.005, allocations: 0 / 2.432 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007009/5.005, allocations: 490.8 kB / 2.432 GB, free: 160 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/5.007, allocations: 376.4 kB / 2.432 GB, free: 159.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008932/5.016, allocations: 5.919 MB / 2.438 GB, free: 156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/5.016, allocations: 1.096 MB / 2.439 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009828/5.017, allocations: 280.6 kB / 2.439 GB, free: 155 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/5.018, allocations: 438.2 kB / 2.44 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of SimCode: time 7.22e-07/5.018, allocations: 0 / 2.44 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05145/5.069, allocations: 32.93 MB / 2.472 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/5.069, allocations: 249.6 kB / 2.472 GB, free: 122 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.07/8.14, allocations: 4 kB / 2.472 GB, free: 122 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)