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/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/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_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009499/0.00095, allocations: 173.2 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7505/0.7505, allocations: 130.7 MB / 138.7 MB, free: 3.469 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.288/1.288, allocations: 221.5 MB / 391.8 MB, free: 14.18 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.0009469/0.000947, allocations: 91.33 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.412e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4065, allocations: 81.57 MB / 0.6282 GB, free: 42.92 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.547/4.953, allocations: 1.694 GB / 2.322 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/4.954, allocations: 94.95 kB / 2.322 GB, free: 180.4 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.137/5.091, allocations: 63.16 MB / 2.384 GB, free: 162.5 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.104e-06/5.091, allocations: 0 / 2.384 GB, free: 162.5 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.000179/5.091, allocations: 35.94 kB / 2.384 GB, free: 162.5 MB / 0.6667 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.003059/5.094, allocations: 1.24 MB / 2.385 GB, free: 161.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/5.094, allocations: 8.031 kB / 2.385 GB, free: 161.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/5.095, allocations: 214.2 kB / 2.385 GB, free: 161.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/5.098, allocations: 0.7803 MB / 2.386 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.998e-05/5.098, allocations: 28 kB / 2.386 GB, free: 160.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002325/5.098, allocations: 52 kB / 2.386 GB, free: 160.3 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002007/5.1, allocations: 1.02 MB / 2.387 GB, free: 159.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001709/5.102, allocations: 0.7961 MB / 2.388 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.654e-05/5.102, allocations: 0 / 2.388 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.974e-05/5.102, allocations: 11.94 kB / 2.388 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/5.102, allocations: 20 kB / 2.388 GB, free: 158.9 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/5.107, allocations: 2.545 MB / 2.39 GB, free: 156.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009021/5.107, allocations: 0.635 MB / 2.391 GB, free: 156.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/5.108, allocations: 234.9 kB / 2.391 GB, free: 156.3 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/5.108, allocations: 31.2 kB / 2.391 GB, free: 156.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006629/5.109, allocations: 378 kB / 2.392 GB, free: 156 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=69): time 4.98e-06/5.109, allocations: 0 / 2.392 GB, free: 156 MB / 0.6667 GB Notification: Performance of matching and sorting (n=69): time 0.001876/5.111, allocations: 0.6506 MB / 2.392 GB, free: 155.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/5.111, allocations: 239.9 kB / 2.393 GB, free: 155.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001235/5.112, allocations: 0.6104 MB / 2.393 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-05/5.112, allocations: 25.7 kB / 2.393 GB, free: 154.7 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005771/5.113, allocations: 0.4919 MB / 2.394 GB, free: 154.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/5.113, allocations: 213 kB / 2.394 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/5.113, allocations: 0 / 2.394 GB, free: 154.2 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001061/5.113, allocations: 330.7 kB / 2.394 GB, free: 153.8 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/5.113, allocations: 183.2 kB / 2.394 GB, free: 153.7 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003958/5.114, allocations: 287.4 kB / 2.395 GB, free: 153.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003858/5.114, allocations: 228.5 kB / 2.395 GB, free: 153.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/5.114, allocations: 0 / 2.395 GB, free: 153.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001458/5.116, allocations: 0.6425 MB / 2.395 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/5.116, allocations: 8 kB / 2.395 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/5.116, allocations: 3.953 kB / 2.395 GB, free: 152.9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005911/5.116, allocations: 84.14 kB / 2.396 GB, free: 152.8 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/5.117, allocations: 134.2 kB / 2.396 GB, free: 152.6 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/5.118, allocations: 1.473 MB / 2.397 GB, free: 151.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006423/5.119, allocations: 59.53 kB / 2.397 GB, free: 151.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/5.119, allocations: 25.05 kB / 2.397 GB, free: 151.1 MB / 0.6667 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.0001769/5.119, allocations: 122.5 kB / 2.397 GB, free: 151 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/5.12, allocations: 90.88 kB / 2.397 GB, free: 150.9 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001846/5.121, allocations: 0.8837 MB / 2.398 GB, free: 150 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/5.121, allocations: 8 kB / 2.398 GB, free: 150 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/5.122, allocations: 4 kB / 2.398 GB, free: 150 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/5.122, allocations: 4.078 kB / 2.398 GB, free: 150 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/5.123, allocations: 0.8315 MB / 2.399 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/5.123, allocations: 7.953 kB / 2.399 GB, free: 149.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005056/5.123, allocations: 135.8 kB / 2.399 GB, free: 149 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004878/5.124, allocations: 84.77 kB / 2.399 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/5.124, allocations: 15.98 kB / 2.399 GB, free: 148.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/5.125, allocations: 1.488 MB / 2.401 GB, free: 147.3 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/5.125, allocations: 0 / 2.401 GB, free: 147.3 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001357/5.126, allocations: 0.7542 MB / 2.402 GB, free: 146.5 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/5.127, allocations: 287.6 kB / 2.402 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/5.127, allocations: 4 kB / 2.402 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005395/5.128, allocations: 55.95 kB / 2.402 GB, free: 146.2 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/5.128, allocations: 60.69 kB / 2.402 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/5.128, allocations: 31.98 kB / 2.402 GB, free: 146.1 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006213/5.128, allocations: 487.1 kB / 2.402 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.4e-07/5.128, allocations: 4 kB / 2.402 GB, free: 145.6 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001203/5.13, allocations: 350.8 kB / 2.403 GB, free: 145.2 MB / 0.6667 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.002004/5.132, allocations: 1.081 MB / 2.404 GB, free: 144.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001057/5.133, allocations: 0.6199 MB / 2.404 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/5.133, allocations: 4 kB / 2.404 GB, free: 143.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005995/5.133, allocations: 436.6 kB / 2.405 GB, free: 143.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/5.135, allocations: 364.6 kB / 2.405 GB, free: 142.9 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003673/5.139, allocations: 1.471 MB / 2.407 GB, free: 141.4 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/5.139, allocations: 1.093 MB / 2.408 GB, free: 140.2 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000967/5.14, allocations: 274.5 kB / 2.408 GB, free: 140 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/5.14, allocations: 95.39 kB / 2.408 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of SimCode: time 8.21e-07/5.14, allocations: 4 kB / 2.408 GB, free: 139.9 MB / 0.6667 GB Notification: Performance of Templates: time 0.02696/5.167, allocations: 17.24 MB / 2.425 GB, free: 122.7 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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 & ./IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)