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.0009886/0.0009886, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008112/0.008113, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.372/1.372, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9287/0.9287, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.0003302, allocations: 8.781 kB / 0.5076 GB, free: 4.785 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1846, allocations: 82.31 MB / 0.588 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005202/0.1899, allocations: 4.426 MB / 0.5923 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4324/0.6222, allocations: 146.8 MB / 0.7357 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006827/0.623, allocations: 20.78 kB / 0.7357 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006947/0.6237, allocations: 281.1 kB / 0.736 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.6251, allocations: 407.8 kB / 0.7363 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001978/0.6271, allocations: 0.7218 MB / 0.7371 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.6287, allocations: 1.255 MB / 0.7383 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001019/0.6298, allocations: 0.7726 MB / 0.739 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005327/0.6303, allocations: 339.2 kB / 0.7394 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004827/0.6308, allocations: 376 kB / 0.7397 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.09e-05/0.6309, allocations: 23.97 kB / 0.7397 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.6318, allocations: 369.8 kB / 0.7401 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.632, allocations: 186.6 kB / 0.7403 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004282/0.6324, allocations: 496.2 kB / 0.7407 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.6343, allocations: 1.607 MB / 0.7423 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.6343, allocations: 0 / 0.7423 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.883e-06/0.6343, allocations: 0 / 0.7423 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.316e-05/0.6343, allocations: 0 / 0.7423 GB, free: 10.65 MB / 0.5606 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.002695/0.637, allocations: 1.326 MB / 0.7436 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/0.6371, allocations: 9.312 kB / 0.7436 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001031/0.6381, allocations: 218.5 kB / 0.7438 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.6394, allocations: 0.8515 MB / 0.7447 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.317e-05/0.6395, allocations: 71.12 kB / 0.7447 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.6396, allocations: 92.48 kB / 0.7448 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00188/0.6415, allocations: 0.9719 MB / 0.7458 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.412e-05/0.6415, allocations: 5.25 kB / 0.7458 GB, free: 8.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.691e-05/0.6416, allocations: 38.09 kB / 0.7458 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.6416, allocations: 22.47 kB / 0.7458 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.6434, allocations: 1.128 MB / 0.7469 GB, free: 7.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004233/0.6477, allocations: 2.727 MB / 0.7496 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.6489, allocations: 0.713 MB / 0.7503 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.6494, allocations: 269.6 kB / 0.7505 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.6495, allocations: 33.67 kB / 0.7506 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008443/0.6504, allocations: 429.8 kB / 0.751 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=69): time 2.855e-06/0.6504, allocations: 0 / 0.751 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of matching and sorting (n=69): time 0.00287/0.6533, allocations: 1.087 MB / 0.752 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.6534, allocations: 188.5 kB / 0.7522 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/0.6543, allocations: 0.7592 MB / 0.753 GB, free: 3.113 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.6544, allocations: 45.64 kB / 0.753 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.6548, allocations: 492 kB / 0.7535 GB, free: 2.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.655, allocations: 236.6 kB / 0.7537 GB, free: 2.34 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.957e-05/0.6551, allocations: 61.69 kB / 0.7538 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6553, allocations: 330 kB / 0.7541 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.6557, allocations: 233.2 kB / 0.7543 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005306/0.6563, allocations: 327.3 kB / 0.7546 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009798/0.6572, allocations: 0.5468 MB / 0.7551 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6573, allocations: 7.984 kB / 0.7552 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001784/0.6591, allocations: 0.782 MB / 0.7559 GB, free: 28 kB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6591, allocations: 4 kB / 0.7559 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6591, allocations: 3.938 kB / 0.7559 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006243/0.6597, allocations: 80.88 kB / 0.756 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005756/0.6603, allocations: 147.8 kB / 0.7561 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/0.6625, allocations: 1.524 MB / 0.7576 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007986/0.6633, allocations: 98.23 kB / 0.7577 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.368e-05/0.6634, allocations: 30.48 kB / 0.7578 GB, free: 14.01 MB / 0.5762 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.0005654/0.6639, allocations: 273.9 kB / 0.758 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.6641, allocations: 102.8 kB / 0.7581 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002219/0.6663, allocations: 0.9902 MB / 0.7591 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.6663, allocations: 8 kB / 0.7591 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.6663, allocations: 0 / 0.7591 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.6664, allocations: 3.984 kB / 0.7591 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.6675, allocations: 0.9347 MB / 0.76 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.6676, allocations: 0 / 0.76 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.6681, allocations: 139.8 kB / 0.7601 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005353/0.6686, allocations: 84.77 kB / 0.7602 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.596e-05/0.6687, allocations: 19.98 kB / 0.7602 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001916/0.6706, allocations: 1.56 MB / 0.7618 GB, free: 9.703 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6706, allocations: 3.938 kB / 0.7618 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6725, allocations: 0.8452 MB / 0.7626 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004319/0.6729, allocations: 283.5 kB / 0.7629 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.673, allocations: 24 kB / 0.7629 GB, free: 8.512 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000546/0.6736, allocations: 67.83 kB / 0.7629 GB, free: 8.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.6737, allocations: 64.84 kB / 0.763 GB, free: 8.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.936e-05/0.6738, allocations: 31.98 kB / 0.763 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007202/0.6745, allocations: 0.5263 MB / 0.7636 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6745, allocations: 0 / 0.7636 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000948/0.6755, allocations: 311 kB / 0.7639 GB, free: 7.52 MB / 0.5762 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.001401/0.6769, allocations: 0.5921 MB / 0.7644 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001562/0.6785, allocations: 0.7348 MB / 0.7651 GB, free: 6.387 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6785, allocations: 4 kB / 0.7651 GB, free: 6.383 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008632/0.6794, allocations: 0.4891 MB / 0.7656 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.6811, allocations: 401.5 kB / 0.766 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.6855, allocations: 2.45 MB / 0.7684 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005668/0.6861, allocations: 1.078 MB / 0.7695 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009286/0.6871, allocations: 279 kB / 0.7697 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/0.6873, allocations: 99.39 kB / 0.7698 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/0.6873, allocations: 0 / 0.7698 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of Templates: time 0.02578/0.7131, allocations: 15.18 MB / 0.7846 GB, free: 2.516 MB / 0.5919 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)