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.001411/0.001417, allocations: 104.7 kB / 16.4 MB, free: 6.461 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.001182/0.001182, allocations: 192 kB / 17.34 MB, free: 5.715 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8299/0.8299, allocations: 135.2 MB / 426.4 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 63.67 kB / 0.5863 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1349, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006672/0.1416, allocations: 4.877 MB / 0.6701 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4645/0.6061, allocations: 150.8 MB / 0.8173 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008174/0.607, allocations: 26.94 kB / 0.8173 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.6078, allocations: 340.7 kB / 0.8177 GB, free: 7.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.6091, allocations: 0.4891 MB / 0.8181 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.6108, allocations: 0.8209 MB / 0.8189 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001101/0.6119, allocations: 1.356 MB / 0.8203 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009389/0.6128, allocations: 0.8023 MB / 0.8211 GB, free: 6.348 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004722/0.6133, allocations: 498.1 kB / 0.8215 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004873/0.6138, allocations: 0.5048 MB / 0.822 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/0.6139, allocations: 117.6 kB / 0.8221 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007023/0.6146, allocations: 485.1 kB / 0.8226 GB, free: 5.777 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002852/0.6149, allocations: 315.9 kB / 0.8229 GB, free: 5.527 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005066/0.6155, allocations: 0.5931 MB / 0.8235 GB, free: 5.066 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001862/0.6173, allocations: 1.77 MB / 0.8252 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6173, allocations: 0 / 0.8252 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6173, allocations: 0 / 0.8252 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.6174, allocations: 5.5 kB / 0.8252 GB, free: 3.754 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.002353/0.6197, allocations: 1.607 MB / 0.8268 GB, free: 2.469 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.6198, allocations: 14.55 kB / 0.8268 GB, free: 2.465 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.6206, allocations: 221.7 kB / 0.827 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.6219, allocations: 0.8795 MB / 0.8279 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.402e-05/0.622, allocations: 69.91 kB / 0.8279 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.6221, allocations: 96.81 kB / 0.828 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.6236, allocations: 0.9672 MB / 0.829 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.6236, allocations: 0 / 0.829 GB, free: 0.9648 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-05/0.6237, allocations: 42.66 kB / 0.829 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.6238, allocations: 21.34 kB / 0.829 GB, free: 0.9336 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001691/0.6255, allocations: 1.117 MB / 0.8301 GB, free: 416 kB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003857/0.6293, allocations: 2.661 MB / 0.8327 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.6306, allocations: 0.7064 MB / 0.8334 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.631, allocations: 271.7 kB / 0.8337 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.936e-05/0.6311, allocations: 27.03 kB / 0.8337 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007235/0.6318, allocations: 423 kB / 0.8341 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 1.924e-06/0.6319, allocations: 0 / 0.8341 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002752/0.6346, allocations: 1.081 MB / 0.8351 GB, free: 13 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.6347, allocations: 191.3 kB / 0.8353 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009028/0.6357, allocations: 0.7526 MB / 0.8361 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.762e-05/0.6357, allocations: 40.3 kB / 0.8361 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004202/0.6361, allocations: 0.4915 MB / 0.8366 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.6364, allocations: 237.7 kB / 0.8368 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.6366, allocations: 150.6 kB / 0.837 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.6368, allocations: 333.9 kB / 0.8373 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004525/0.6372, allocations: 232.4 kB / 0.8375 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005524/0.6378, allocations: 317.3 kB / 0.8378 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009977/0.6388, allocations: 0.543 MB / 0.8383 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.6388, allocations: 3.938 kB / 0.8383 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001728/0.6405, allocations: 0.7874 MB / 0.8391 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.6406, allocations: 6.875 kB / 0.8391 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6406, allocations: 2.938 kB / 0.8391 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005709/0.6411, allocations: 79.34 kB / 0.8392 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.6417, allocations: 141.5 kB / 0.8393 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.6441, allocations: 1.651 MB / 0.8409 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.6446, allocations: 76.39 kB / 0.841 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.287e-05/0.6447, allocations: 39.97 kB / 0.841 GB, free: 8.477 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.0004243/0.6452, allocations: 273.3 kB / 0.8413 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.6453, allocations: 104.3 kB / 0.8414 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.6476, allocations: 0.9697 MB / 0.8424 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.6476, allocations: 7.625 kB / 0.8424 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.295e-06/0.6476, allocations: 3.75 kB / 0.8424 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6476, allocations: 6.422 kB / 0.8424 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001235/0.6489, allocations: 0.9379 MB / 0.8433 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6489, allocations: 0 / 0.8433 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.6494, allocations: 134.9 kB / 0.8434 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004391/0.6499, allocations: 70.78 kB / 0.8435 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/0.6499, allocations: 20.95 kB / 0.8435 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002164/0.6521, allocations: 1.671 MB / 0.8451 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.6521, allocations: 0 / 0.8451 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.6539, allocations: 0.8558 MB / 0.846 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.6542, allocations: 275.4 kB / 0.8462 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6543, allocations: 21.97 kB / 0.8463 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005026/0.6548, allocations: 49.64 kB / 0.8463 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.655, allocations: 60.16 kB / 0.8464 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.216e-05/0.6551, allocations: 32.52 kB / 0.8464 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006448/0.6557, allocations: 0.5268 MB / 0.8469 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6557, allocations: 0 / 0.8469 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007181/0.6564, allocations: 321.2 kB / 0.8472 GB, free: 4.031 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.001848/0.6583, allocations: 0.5868 MB / 0.8478 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001567/0.6599, allocations: 0.7445 MB / 0.8485 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.6599, allocations: 0 / 0.8485 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008889/0.6608, allocations: 488.1 kB / 0.849 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001517/0.6623, allocations: 468.3 kB / 0.8494 GB, free: 2 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003942/0.6663, allocations: 1.931 MB / 0.8513 GB, free: 40 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/0.667, allocations: 1.078 MB / 0.8524 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007849/0.6678, allocations: 267.1 kB / 0.8526 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.6681, allocations: 107.3 kB / 0.8527 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.6681, allocations: 0 / 0.8527 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.02659/0.6947, allocations: 16.05 MB / 0.8684 GB, free: 14.63 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)