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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00754/0.00754, allocations: 98.97 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 200.8 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8138/0.8138, allocations: 135.1 MB / 425.7 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 65.12 kB / 0.5856 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1825, allocations: 80.91 MB / 0.6646 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008023/0.1906, allocations: 4.88 MB / 0.6694 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6103/0.801, allocations: 150.7 MB / 0.8166 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.8024, allocations: 30.88 kB / 0.8166 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.8033, allocations: 337.9 kB / 0.8169 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.8052, allocations: 495 kB / 0.8174 GB, free: 7.32 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.8074, allocations: 0.8248 MB / 0.8182 GB, free: 6.992 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00157/0.809, allocations: 1.352 MB / 0.8195 GB, free: 6.613 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.8101, allocations: 0.8116 MB / 0.8203 GB, free: 6.324 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007073/0.8108, allocations: 483.8 kB / 0.8208 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005457/0.8113, allocations: 0.5084 MB / 0.8213 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001576/0.8115, allocations: 119.4 kB / 0.8214 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009536/0.8125, allocations: 488 kB / 0.8219 GB, free: 5.797 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002682/0.8127, allocations: 311.2 kB / 0.8222 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004836/0.8132, allocations: 0.5927 MB / 0.8227 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.8153, allocations: 1.773 MB / 0.8245 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.8153, allocations: 0 / 0.8245 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8153, allocations: 2.219 kB / 0.8245 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.049e-05/0.8154, allocations: 0 / 0.8245 GB, free: 3.777 MB / 0.5919 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.002411/0.8178, allocations: 1.615 MB / 0.8261 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8178, allocations: 11.14 kB / 0.8261 GB, free: 2.48 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009057/0.8187, allocations: 213.6 kB / 0.8263 GB, free: 2.375 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.82, allocations: 0.883 MB / 0.8271 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.591e-05/0.82, allocations: 71.38 kB / 0.8272 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.747e-05/0.8201, allocations: 88.59 kB / 0.8273 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.8217, allocations: 0.9714 MB / 0.8282 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8218, allocations: 2.75 kB / 0.8282 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.212e-05/0.8218, allocations: 41.44 kB / 0.8283 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.8219, allocations: 22.88 kB / 0.8283 GB, free: 0.9531 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/0.8235, allocations: 1.116 MB / 0.8294 GB, free: 432 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0039/0.8274, allocations: 2.661 MB / 0.832 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.8286, allocations: 0.7039 MB / 0.8327 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.8291, allocations: 267.8 kB / 0.8329 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.8292, allocations: 33.27 kB / 0.833 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006794/0.8298, allocations: 414.5 kB / 0.8334 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.254e-06/0.8299, allocations: 0 / 0.8334 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002708/0.8326, allocations: 1.088 MB / 0.8344 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/0.8327, allocations: 188.4 kB / 0.8346 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009126/0.8336, allocations: 0.7533 MB / 0.8353 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.8337, allocations: 38.89 kB / 0.8354 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.8341, allocations: 0.4931 MB / 0.8358 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.8342, allocations: 239.6 kB / 0.8361 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.8345, allocations: 154.6 kB / 0.8362 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.8346, allocations: 331.6 kB / 0.8365 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/0.835, allocations: 231.2 kB / 0.8368 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.8356, allocations: 324.8 kB / 0.8371 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.8365, allocations: 0.5389 MB / 0.8376 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.8365, allocations: 0 / 0.8376 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001716/0.8383, allocations: 0.7815 MB / 0.8384 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8383, allocations: 11.28 kB / 0.8384 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.8383, allocations: 0 / 0.8384 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005678/0.8389, allocations: 83.89 kB / 0.8385 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.8394, allocations: 137.3 kB / 0.8386 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/0.8415, allocations: 1.653 MB / 0.8402 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.8422, allocations: 80.66 kB / 0.8403 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.8423, allocations: 35.62 kB / 0.8403 GB, free: 8.496 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004299/0.8427, allocations: 271.2 kB / 0.8406 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001595/0.8429, allocations: 104.3 kB / 0.8407 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.845, allocations: 0.9734 MB / 0.8416 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.175e-06/0.8451, allocations: 7.812 kB / 0.8416 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.8451, allocations: 2.469 kB / 0.8416 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/0.8451, allocations: 7.984 kB / 0.8416 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.8462, allocations: 0.9332 MB / 0.8425 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.8462, allocations: 0 / 0.8425 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005219/0.8467, allocations: 137.6 kB / 0.8427 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.8472, allocations: 72.06 kB / 0.8427 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.8472, allocations: 23.14 kB / 0.8428 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00189/0.8491, allocations: 1.665 MB / 0.8444 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.8491, allocations: 6.156 kB / 0.8444 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.8509, allocations: 0.8542 MB / 0.8452 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003497/0.8513, allocations: 271.7 kB / 0.8455 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/0.8514, allocations: 21.06 kB / 0.8455 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.8519, allocations: 50.72 kB / 0.8456 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.852, allocations: 64.67 kB / 0.8456 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.96e-05/0.8521, allocations: 28.08 kB / 0.8456 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000699/0.8528, allocations: 0.5323 MB / 0.8462 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8528, allocations: 0 / 0.8462 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008898/0.8537, allocations: 313 kB / 0.8465 GB, free: 4.055 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001374/0.8551, allocations: 0.5868 MB / 0.847 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001659/0.8568, allocations: 0.7447 MB / 0.8478 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.8568, allocations: 0 / 0.8478 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008616/0.8577, allocations: 488.3 kB / 0.8482 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.8593, allocations: 462.5 kB / 0.8487 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004283/0.8636, allocations: 1.939 MB / 0.8506 GB, free: 176 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/0.8643, allocations: 1.078 MB / 0.8516 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009064/0.8652, allocations: 271.1 kB / 0.8519 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.8654, allocations: 99.39 kB / 0.852 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of SimCode: time 8.82e-07/0.8655, allocations: 0 / 0.852 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.03096/0.8964, allocations: 16.02 MB / 0.8676 GB, free: 14.79 MB / 0.6387 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)