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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009784/0.009784, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001933/0.001933, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 67.83 kB / 0.5813 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4242, allocations: 80.2 MB / 0.6596 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006961/0.4313, allocations: 4.875 MB / 0.6644 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1708/0.6021, allocations: 150.7 MB / 0.8116 GB, free: 10.05 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001489/0.6037, allocations: 27.81 kB / 0.8116 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.6049, allocations: 337.5 kB / 0.812 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.6073, allocations: 0.4931 MB / 0.8124 GB, free: 9.199 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.6096, allocations: 0.8241 MB / 0.8132 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001917/0.6115, allocations: 1.352 MB / 0.8146 GB, free: 7.027 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.613, allocations: 0.8174 MB / 0.8154 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008409/0.6138, allocations: 490.1 kB / 0.8158 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008503/0.6147, allocations: 0.5014 MB / 0.8163 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003886/0.6151, allocations: 120 kB / 0.8164 GB, free: 5.074 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.6163, allocations: 491.5 kB / 0.8169 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003693/0.6167, allocations: 306.9 kB / 0.8172 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007434/0.6174, allocations: 0.5982 MB / 0.8178 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002365/0.6198, allocations: 1.758 MB / 0.8195 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.6198, allocations: 3.984 kB / 0.8195 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6198, allocations: 0 / 0.8195 GB, free: 1.926 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.933e-05/0.6199, allocations: 0 / 0.8195 GB, free: 1.926 MB / 0.6387 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.003032/0.6229, allocations: 1.573 MB / 0.821 GB, free: 312 kB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.623, allocations: 12.03 kB / 0.8211 GB, free: 300 kB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.624, allocations: 207.1 kB / 0.8212 GB, free: 92 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.6255, allocations: 0.8789 MB / 0.8221 GB, free: 15.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.6255, allocations: 74 kB / 0.8222 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.6257, allocations: 91.98 kB / 0.8223 GB, free: 15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.6274, allocations: 0.9681 MB / 0.8232 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.6274, allocations: 0 / 0.8232 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/0.6275, allocations: 40 kB / 0.8232 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.6275, allocations: 24 kB / 0.8233 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001931/0.6294, allocations: 1.12 MB / 0.8244 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003928/0.6334, allocations: 2.647 MB / 0.827 GB, free: 10.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/0.6347, allocations: 0.7019 MB / 0.8276 GB, free: 9.391 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.6351, allocations: 274.4 kB / 0.8279 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.902e-05/0.6352, allocations: 32.58 kB / 0.8279 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007231/0.636, allocations: 417.7 kB / 0.8283 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.084e-06/0.636, allocations: 0 / 0.8283 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.002978/0.639, allocations: 1.077 MB / 0.8294 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6391, allocations: 188.5 kB / 0.8296 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009274/0.64, allocations: 0.7592 MB / 0.8303 GB, free: 6.566 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.111e-05/0.6401, allocations: 37.7 kB / 0.8303 GB, free: 6.523 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.6405, allocations: 492 kB / 0.8308 GB, free: 6.035 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6406, allocations: 236.6 kB / 0.831 GB, free: 5.801 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.6409, allocations: 146.2 kB / 0.8312 GB, free: 5.652 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.641, allocations: 334 kB / 0.8315 GB, free: 5.32 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.6415, allocations: 233.2 kB / 0.8317 GB, free: 5.094 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.642, allocations: 315.3 kB / 0.832 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6431, allocations: 0.5429 MB / 0.8325 GB, free: 4.219 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.6431, allocations: 7.938 kB / 0.8326 GB, free: 4.211 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001919/0.645, allocations: 0.778 MB / 0.8333 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.6451, allocations: 4 kB / 0.8333 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.6451, allocations: 8.094 kB / 0.8333 GB, free: 3.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006167/0.6457, allocations: 84.75 kB / 0.8334 GB, free: 3.324 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006005/0.6463, allocations: 139.8 kB / 0.8335 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.6487, allocations: 1.642 MB / 0.8351 GB, free: 1.402 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007457/0.6494, allocations: 85.89 kB / 0.8352 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.857e-05/0.6495, allocations: 27.98 kB / 0.8352 GB, free: 1.293 MB / 0.6544 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.0005245/0.65, allocations: 279.2 kB / 0.8355 GB, free: 1.012 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/0.6504, allocations: 98.72 kB / 0.8356 GB, free: 0.9141 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.6528, allocations: 0.9686 MB / 0.8366 GB, free: 15.94 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.6528, allocations: 11.98 kB / 0.8366 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6528, allocations: 0 / 0.8366 GB, free: 15.93 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6528, allocations: 7.984 kB / 0.8366 GB, free: 15.92 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001612/0.6545, allocations: 0.9347 MB / 0.8375 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.6545, allocations: 4 kB / 0.8375 GB, free: 14.93 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.6551, allocations: 135.8 kB / 0.8376 GB, free: 14.79 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004782/0.6556, allocations: 72.78 kB / 0.8377 GB, free: 14.72 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.25e-05/0.6556, allocations: 23.98 kB / 0.8377 GB, free: 14.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.6578, allocations: 1.666 MB / 0.8393 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6578, allocations: 144 / 0.8393 GB, free: 12.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6599, allocations: 0.8412 MB / 0.8402 GB, free: 12.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000519/0.6604, allocations: 271.6 kB / 0.8404 GB, free: 11.73 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.6606, allocations: 20 kB / 0.8404 GB, free: 11.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006484/0.6613, allocations: 51.94 kB / 0.8405 GB, free: 11.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.6614, allocations: 56.92 kB / 0.8405 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.6615, allocations: 31.98 kB / 0.8406 GB, free: 11.58 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009756/0.6625, allocations: 0.5263 MB / 0.8411 GB, free: 11.05 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6625, allocations: 0 / 0.8411 GB, free: 11.05 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00109/0.6636, allocations: 307 kB / 0.8414 GB, free: 10.75 MB / 0.67 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.001737/0.6654, allocations: 0.5894 MB / 0.842 GB, free: 10.38 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.6671, allocations: 0.7472 MB / 0.8427 GB, free: 9.613 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.6672, allocations: 0 / 0.8427 GB, free: 9.613 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0009177/0.6681, allocations: 488.4 kB / 0.8432 GB, free: 9.125 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/0.6699, allocations: 462.8 kB / 0.8436 GB, free: 8.723 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.6745, allocations: 1.908 MB / 0.8455 GB, free: 6.785 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.6753, allocations: 1.076 MB / 0.8465 GB, free: 5.684 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008576/0.6761, allocations: 271.1 kB / 0.8468 GB, free: 5.414 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.6764, allocations: 103.3 kB / 0.8469 GB, free: 5.312 MB / 0.67 GB Notification: Performance of SimCode: time 4.11e-07/0.6764, allocations: 0 / 0.8469 GB, free: 5.312 MB / 0.67 GB Notification: Performance of Templates: time 0.0279/0.7043, allocations: 16 MB / 0.8625 GB, free: 5.469 MB / 0.6856 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)