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: translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009968/0.009968, allocations: 170.4 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.8288/0.8288, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.575/1.575, allocations: 223.2 MB / 406.9 MB, free: 3.211 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.0009317/0.0009316, allocations: 97.06 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004091/0.0004091, allocations: 11.94 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4266, allocations: 82.3 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.662/4.088, allocations: 1.695 GB / 2.344 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003874/4.089, allocations: 91.08 kB / 2.344 GB, free: 186.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1423/4.231, allocations: 64.34 MB / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.086e-06/4.231, allocations: 3.188 kB / 2.407 GB, free: 172.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001178/4.231, allocations: 34.38 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.002768/4.234, allocations: 1.384 MB / 2.409 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/4.234, allocations: 9.562 kB / 2.409 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/4.235, allocations: 217.4 kB / 2.409 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/4.237, allocations: 0.7728 MB / 2.41 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.377e-05/4.237, allocations: 76.69 kB / 2.41 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/4.237, allocations: 90.84 kB / 2.41 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/4.238, allocations: 0.9573 MB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/4.239, allocations: 3.938 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-05/4.239, allocations: 43.59 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/4.239, allocations: 27.47 kB / 2.411 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/4.24, allocations: 1.129 MB / 2.412 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/4.244, allocations: 2.734 MB / 2.415 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001093/4.245, allocations: 0.7099 MB / 2.415 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.76e-05/4.245, allocations: 28.06 kB / 2.415 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006277/4.246, allocations: 425.4 kB / 2.416 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 2.765e-06/4.246, allocations: 3.938 kB / 2.416 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.002639/4.248, allocations: 1.091 MB / 2.417 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.604e-05/4.249, allocations: 247.7 kB / 2.417 GB, free: 168 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/4.249, allocations: 0.7238 MB / 2.418 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.075e-05/4.249, allocations: 40.11 kB / 2.418 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/4.25, allocations: 489.2 kB / 2.418 GB, free: 167.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/4.25, allocations: 232.2 kB / 2.418 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.956e-05/4.25, allocations: 10.59 kB / 2.418 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.253e-05/4.25, allocations: 328.9 kB / 2.419 GB, free: 167.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/4.25, allocations: 217.1 kB / 2.419 GB, free: 167 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/4.251, allocations: 319 kB / 2.419 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/4.251, allocations: 258.3 kB / 2.42 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/4.251, allocations: 0 / 2.42 GB, free: 166.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001576/4.253, allocations: 0.7251 MB / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/4.253, allocations: 11.97 kB / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/4.253, allocations: 3.953 kB / 2.42 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006146/4.254, allocations: 83.14 kB / 2.42 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005355/4.254, allocations: 129.9 kB / 2.42 GB, free: 166.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/4.256, allocations: 1.544 MB / 2.422 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/4.257, allocations: 87.08 kB / 2.422 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.624e-05/4.257, allocations: 28.08 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.0006002/4.257, allocations: 274.4 kB / 2.422 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/4.257, allocations: 93.73 kB / 2.422 GB, free: 165 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002052/4.259, allocations: 1.004 MB / 2.423 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/4.259, allocations: 7.594 kB / 2.423 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/4.26, allocations: 0 / 2.423 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/4.26, allocations: 3.984 kB / 2.423 GB, free: 164.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/4.261, allocations: 0.9704 MB / 2.424 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/4.261, allocations: 0 / 2.424 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005016/4.261, allocations: 137.2 kB / 2.424 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004948/4.262, allocations: 81.72 kB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/4.262, allocations: 22.11 kB / 2.425 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001548/4.263, allocations: 1.584 MB / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/4.263, allocations: 0 / 2.426 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/4.265, allocations: 0.8464 MB / 2.427 GB, free: 162.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/4.265, allocations: 301.6 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.853e-05/4.265, allocations: 16.5 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/4.266, allocations: 65.56 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/4.266, allocations: 58.89 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.924e-05/4.266, allocations: 30.81 kB / 2.427 GB, free: 162.3 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006877/4.267, allocations: 0.585 MB / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/4.267, allocations: 0 / 2.428 GB, free: 162.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001101/4.268, allocations: 372.6 kB / 2.428 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.001739/4.27, allocations: 1.057 MB / 2.429 GB, free: 161.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001305/4.271, allocations: 0.7098 MB / 2.43 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/4.271, allocations: 0 / 2.43 GB, free: 161.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007133/4.272, allocations: 493.8 kB / 2.431 GB, free: 160.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001481/4.273, allocations: 378.2 kB / 2.431 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004049/4.277, allocations: 2.389 MB / 2.433 GB, free: 159.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004592/4.278, allocations: 1.098 MB / 2.434 GB, free: 158.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009344/4.279, allocations: 277.3 kB / 2.435 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/4.279, allocations: 100 kB / 2.435 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.232e-06/4.279, allocations: 0 / 2.435 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of Templates: time 0.03206/4.311, allocations: 22.25 MB / 2.456 GB, free: 137.9 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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 & ./IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)