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.001292/0.001292, allocations: 175 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7314/0.7314, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.481/1.481, allocations: 221.3 MB / 400.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009152/0.0009153, allocations: 97.72 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.8e-05/3.811e-05, allocations: 2.656 kB / 0.5601 GB, free: 87.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 82.3 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.09/5.233, allocations: 1.695 GB / 2.335 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/5.234, allocations: 87.95 kB / 2.335 GB, free: 239.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1483/5.382, allocations: 64.04 MB / 2.398 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.164e-06/5.382, allocations: 8 kB / 2.398 GB, free: 175.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001769/5.382, allocations: 35.94 kB / 2.398 GB, free: 175.3 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.002746/5.385, allocations: 1.234 MB / 2.399 GB, free: 174.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/5.385, allocations: 16.02 kB / 2.399 GB, free: 174 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003254/5.386, allocations: 139.9 kB / 2.399 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001217/5.387, allocations: 222.2 kB / 2.4 GB, free: 173.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/5.389, allocations: 0.7717 MB / 2.4 GB, free: 172.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/5.389, allocations: 70 kB / 2.4 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/5.389, allocations: 92 kB / 2.4 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/5.391, allocations: 0.9263 MB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/5.391, allocations: 4 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.761e-05/5.391, allocations: 40 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/5.391, allocations: 27.95 kB / 2.401 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/5.392, allocations: 1.077 MB / 2.402 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004517/5.397, allocations: 2.73 MB / 2.405 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/5.398, allocations: 0.6794 MB / 2.406 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003638/5.398, allocations: 250.5 kB / 2.406 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.973e-05/5.398, allocations: 28.59 kB / 2.406 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005957/5.399, allocations: 401.7 kB / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.406e-06/5.399, allocations: 0 / 2.406 GB, free: 166.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001773/5.401, allocations: 0.6871 MB / 2.407 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/5.401, allocations: 243.9 kB / 2.407 GB, free: 165.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/5.402, allocations: 0.7118 MB / 2.408 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/5.402, allocations: 37.7 kB / 2.408 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004469/5.403, allocations: 0.492 MB / 2.409 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002323/5.403, allocations: 228.7 kB / 2.409 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/5.403, allocations: 8 kB / 2.409 GB, free: 163.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001366/5.403, allocations: 330 kB / 2.409 GB, free: 163.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003367/5.404, allocations: 193.5 kB / 2.409 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004337/5.404, allocations: 301.1 kB / 2.41 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/5.405, allocations: 242 kB / 2.41 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/5.405, allocations: 0 / 2.41 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001665/5.406, allocations: 0.6873 MB / 2.41 GB, free: 162.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.996e-05/5.406, allocations: 11.95 kB / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/5.406, allocations: 0 / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006412/5.407, allocations: 88.77 kB / 2.411 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/5.407, allocations: 131.8 kB / 2.411 GB, free: 161.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/5.41, allocations: 1.52 MB / 2.412 GB, free: 160.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008225/5.411, allocations: 83.38 kB / 2.412 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/5.411, allocations: 28.05 kB / 2.412 GB, free: 160.2 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.0002358/5.411, allocations: 146.1 kB / 2.412 GB, free: 160 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/5.411, allocations: 98.73 kB / 2.413 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/5.413, allocations: 0.9514 MB / 2.413 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/5.413, allocations: 8 kB / 2.413 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/5.413, allocations: 3.938 kB / 2.413 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/5.413, allocations: 3.984 kB / 2.413 GB, free: 158.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/5.415, allocations: 0.9733 MB / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/5.415, allocations: 0 / 2.414 GB, free: 157.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/5.415, allocations: 139.8 kB / 2.415 GB, free: 157.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004919/5.416, allocations: 84.78 kB / 2.415 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/5.416, allocations: 19.98 kB / 2.415 GB, free: 157.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/5.417, allocations: 1.56 MB / 2.416 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/5.418, allocations: 7.969 kB / 2.416 GB, free: 156 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/5.419, allocations: 0.8003 MB / 2.417 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/5.419, allocations: 291.6 kB / 2.417 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/5.42, allocations: 16 kB / 2.417 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005724/5.42, allocations: 67.94 kB / 2.417 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/5.42, allocations: 64.59 kB / 2.417 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.657e-05/5.42, allocations: 27.98 kB / 2.417 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007214/5.421, allocations: 0.5733 MB / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/5.421, allocations: 0 / 2.418 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00124/5.422, allocations: 371 kB / 2.418 GB, free: 153.7 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.00361/5.426, allocations: 2.275 MB / 2.421 GB, free: 151.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001157/5.427, allocations: 0.6629 MB / 2.421 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/5.427, allocations: 4 kB / 2.421 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006183/5.428, allocations: 463 kB / 2.422 GB, free: 150.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/5.429, allocations: 379.9 kB / 2.422 GB, free: 150 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004372/5.434, allocations: 1.749 MB / 2.424 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/5.434, allocations: 1.104 MB / 2.425 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009427/5.435, allocations: 275.1 kB / 2.425 GB, free: 146.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005554/5.436, allocations: 435.2 kB / 2.425 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of SimCode: time 8.22e-07/5.436, allocations: 4 kB / 2.425 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06388/5.5, allocations: 34.54 MB / 2.459 GB, free: 112.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/5.5, allocations: 220.1 kB / 2.459 GB, free: 111.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.754/9.254, allocations: 0 / 2.459 GB, free: 111.8 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)