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.007426/0.007426, allocations: 170.8 kB / 15.11 MB, free: 5.977 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.83/0.83, allocations: 135.2 MB / 151.1 MB, free: 13.82 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.531/1.531, allocations: 223.2 MB / 406.8 MB, free: 3.164 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.0008478/0.0008479, allocations: 101.9 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 12 kB / 0.5692 GB, free: 14.06 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3791, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.895/4.274, allocations: 1.695 GB / 2.344 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/4.274, allocations: 93.36 kB / 2.344 GB, free: 186.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1603/4.435, allocations: 64.34 MB / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.344e-06/4.435, allocations: 0 / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001384/4.435, allocations: 39.34 kB / 2.407 GB, free: 172.7 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.002778/4.438, allocations: 1.392 MB / 2.409 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/4.438, allocations: 6.344 kB / 2.409 GB, free: 171.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002267/4.438, allocations: 148.5 kB / 2.409 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/4.439, allocations: 218.2 kB / 2.409 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/4.44, allocations: 0.7781 MB / 2.41 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.238e-05/4.441, allocations: 70.44 kB / 2.41 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/4.441, allocations: 92 kB / 2.41 GB, free: 171 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/4.443, allocations: 0.9581 MB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.66e-05/4.443, allocations: 7.922 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001114/4.443, allocations: 38.88 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.215e-05/4.443, allocations: 27.23 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002198/4.445, allocations: 1.127 MB / 2.412 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/4.45, allocations: 2.731 MB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/4.451, allocations: 0.7114 MB / 2.415 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.426e-05/4.451, allocations: 38 kB / 2.415 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/4.452, allocations: 419.6 kB / 2.416 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 3.667e-06/4.452, allocations: 0 / 2.416 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.00351/4.456, allocations: 1.099 MB / 2.417 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.358e-05/4.456, allocations: 239.7 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/4.457, allocations: 0.7267 MB / 2.418 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/4.457, allocations: 36.92 kB / 2.418 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/4.458, allocations: 491.5 kB / 2.418 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/4.458, allocations: 227.6 kB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/4.458, allocations: 14.22 kB / 2.419 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/4.458, allocations: 332.2 kB / 2.419 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/4.459, allocations: 211.9 kB / 2.419 GB, free: 167 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006517/4.459, allocations: 322.5 kB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006345/4.46, allocations: 259.5 kB / 2.42 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/4.46, allocations: 0 / 2.42 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002254/4.462, allocations: 0.7315 MB / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/4.462, allocations: 7.828 kB / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/4.462, allocations: 80 / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007717/4.463, allocations: 86.39 kB / 2.421 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007455/4.464, allocations: 134.5 kB / 2.421 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/4.466, allocations: 1.547 MB / 2.422 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009215/4.467, allocations: 76.5 kB / 2.422 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001159/4.467, allocations: 24.42 kB / 2.422 GB, free: 165.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 () * 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.0008228/4.468, allocations: 275.4 kB / 2.423 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/4.468, allocations: 101.5 kB / 2.423 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003063/4.471, allocations: 0.9889 MB / 2.424 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/4.472, allocations: 7.75 kB / 2.424 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/4.472, allocations: 3.984 kB / 2.424 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/4.472, allocations: 3.984 kB / 2.424 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/4.473, allocations: 0.9704 MB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/4.473, allocations: 3.938 kB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007686/4.474, allocations: 142.7 kB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006625/4.475, allocations: 79.55 kB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.732e-05/4.475, allocations: 27.92 kB / 2.425 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002034/4.477, allocations: 1.578 MB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/4.477, allocations: 0 / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002296/4.479, allocations: 0.8561 MB / 2.427 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/4.48, allocations: 294.6 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/4.48, allocations: 18 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007807/4.481, allocations: 66.81 kB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/4.481, allocations: 60.62 kB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.071e-05/4.481, allocations: 29.48 kB / 2.428 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001056/4.482, allocations: 0.5746 MB / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.2e-07/4.482, allocations: 0 / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001548/4.484, allocations: 380.3 kB / 2.429 GB, free: 162 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.005124/4.489, allocations: 2.353 MB / 2.431 GB, free: 160.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001887/4.491, allocations: 0.7114 MB / 2.432 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/4.491, allocations: 0 / 2.432 GB, free: 160.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001101/4.492, allocations: 478.8 kB / 2.432 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/4.494, allocations: 391.1 kB / 2.432 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/4.51, allocations: 5.913 MB / 2.438 GB, free: 155.9 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/4.511, allocations: 1.103 MB / 2.439 GB, free: 155 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001665/4.513, allocations: 266.3 kB / 2.439 GB, free: 154.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008556/4.514, allocations: 435.3 kB / 2.44 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of SimCode: time 2.034e-06/4.514, allocations: 0 / 2.44 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05669/4.57, allocations: 32.93 MB / 2.472 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/4.571, allocations: 245 kB / 2.472 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.006/7.576, allocations: 0 / 2.472 GB, free: 121.5 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)