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.001083/0.001083, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008003/0.008003, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.403/1.403, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7712/0.7712, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 8.906 kB / 0.504 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4227/0.4231, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005163/0.4283, allocations: 4.443 MB / 0.588 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1665/0.5948, allocations: 146.8 MB / 0.7314 GB, free: 8.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009399/0.5958, allocations: 23.88 kB / 0.7314 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008442/0.5966, allocations: 286.2 kB / 0.7317 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.5983, allocations: 412.3 kB / 0.7321 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001941/0.6003, allocations: 0.7119 MB / 0.7328 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001623/0.6019, allocations: 1.251 MB / 0.734 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.6031, allocations: 0.7817 MB / 0.7347 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005845/0.6037, allocations: 338.1 kB / 0.7351 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005516/0.6043, allocations: 387.1 kB / 0.7354 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001359/0.6044, allocations: 24 kB / 0.7355 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007927/0.6052, allocations: 367.6 kB / 0.7358 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.6054, allocations: 183 kB / 0.736 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.6059, allocations: 498.3 kB / 0.7365 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.6075, allocations: 1.6 MB / 0.738 GB, free: 1.758 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.6076, allocations: 4 kB / 0.738 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6076, allocations: 0 / 0.738 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.445e-05/0.6076, allocations: 4 kB / 0.738 GB, free: 1.75 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.002353/0.61, allocations: 1.318 MB / 0.7393 GB, free: 388 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.61, allocations: 15.97 kB / 0.7393 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.611, allocations: 219.1 kB / 0.7395 GB, free: 152 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/0.6122, allocations: 0.8516 MB / 0.7404 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.689e-05/0.6123, allocations: 74 kB / 0.7404 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.6124, allocations: 88 kB / 0.7405 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.614, allocations: 0.9769 MB / 0.7415 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.614, allocations: 3.938 kB / 0.7415 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/0.6141, allocations: 40 kB / 0.7415 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.6141, allocations: 24 kB / 0.7415 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.6158, allocations: 1.128 MB / 0.7426 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.6199, allocations: 2.725 MB / 0.7453 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.6211, allocations: 0.7059 MB / 0.746 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004521/0.6216, allocations: 270.4 kB / 0.7462 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.21e-05/0.6216, allocations: 40.58 kB / 0.7463 GB, free: 9.066 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006953/0.6223, allocations: 417.7 kB / 0.7467 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 2.394e-06/0.6223, allocations: 3.938 kB / 0.7467 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.002674/0.625, allocations: 1.089 MB / 0.7478 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.143e-05/0.6251, allocations: 192.5 kB / 0.7479 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008872/0.626, allocations: 0.7553 MB / 0.7487 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.6261, allocations: 37.7 kB / 0.7487 GB, free: 6.484 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/0.6264, allocations: 492 kB / 0.7492 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/0.6266, allocations: 232.7 kB / 0.7494 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.6267, allocations: 61.62 kB / 0.7495 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6268, allocations: 330 kB / 0.7498 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000463/0.6273, allocations: 245.2 kB / 0.75 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.6278, allocations: 319.3 kB / 0.7503 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.6288, allocations: 0.5507 MB / 0.7509 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.6288, allocations: 3.938 kB / 0.7509 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001703/0.6305, allocations: 0.782 MB / 0.7516 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.6306, allocations: 4 kB / 0.7516 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.6306, allocations: 0 / 0.7516 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005887/0.6312, allocations: 92.8 kB / 0.7517 GB, free: 3.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.6317, allocations: 143.8 kB / 0.7518 GB, free: 3.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.6339, allocations: 1.542 MB / 0.7534 GB, free: 1.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.6346, allocations: 91.27 kB / 0.7534 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-05/0.6347, allocations: 31.97 kB / 0.7535 GB, free: 1.414 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.0005731/0.6353, allocations: 279.3 kB / 0.7537 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.6355, allocations: 94.78 kB / 0.7538 GB, free: 1.039 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002382/0.6378, allocations: 0.9881 MB / 0.7548 GB, free: 44 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.6379, allocations: 8 kB / 0.7548 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.6379, allocations: 0 / 0.7548 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.6379, allocations: 3.984 kB / 0.7548 GB, free: 32 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.6394, allocations: 0.9423 MB / 0.7557 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.6394, allocations: 0 / 0.7557 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005367/0.6399, allocations: 139.8 kB / 0.7559 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005974/0.6406, allocations: 84.77 kB / 0.7559 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.6406, allocations: 19.98 kB / 0.756 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001965/0.6426, allocations: 1.548 MB / 0.7575 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6426, allocations: 0 / 0.7575 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001961/0.6446, allocations: 0.8568 MB / 0.7583 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.645, allocations: 287.5 kB / 0.7586 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001338/0.6451, allocations: 19.94 kB / 0.7586 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005858/0.6457, allocations: 69.95 kB / 0.7587 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6459, allocations: 56.91 kB / 0.7587 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.68e-05/0.646, allocations: 31.98 kB / 0.7587 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008057/0.6468, allocations: 0.5302 MB / 0.7593 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6468, allocations: 0 / 0.7593 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000934/0.6477, allocations: 311 kB / 0.7596 GB, free: 10.93 MB / 0.5919 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.001465/0.6492, allocations: 0.5875 MB / 0.7601 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001686/0.6509, allocations: 0.7357 MB / 0.7609 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6509, allocations: 7.938 kB / 0.7609 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.6518, allocations: 496.2 kB / 0.7613 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001835/0.6537, allocations: 406.2 kB / 0.7617 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005192/0.6589, allocations: 2.454 MB / 0.7641 GB, free: 6.426 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009686/0.6599, allocations: 1.079 MB / 0.7652 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00104/0.6609, allocations: 267.1 kB / 0.7654 GB, free: 5.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.6612, allocations: 103.4 kB / 0.7655 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of SimCode: time 1.333e-06/0.6612, allocations: 0 / 0.7655 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of Templates: time 0.03049/0.6917, allocations: 15.18 MB / 0.7803 GB, free: 5.938 MB / 0.6075 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)