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.00516/0.00516, 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.0009828/0.0009828, 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9428/0.9428, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 0.5856 GB, free: 3.414 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4454/0.4467, allocations: 80.91 MB / 0.6646 GB, free: 7.598 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006202/0.453, allocations: 4.879 MB / 0.6694 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6342, allocations: 150.7 MB / 0.8166 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001747/0.636, allocations: 27.81 kB / 0.8166 GB, free: 5.438 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008946/0.637, allocations: 329.6 kB / 0.8169 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002024/0.639, allocations: 0.4964 MB / 0.8174 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002164/0.6412, allocations: 0.817 MB / 0.8182 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001524/0.6427, allocations: 1.352 MB / 0.8195 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.6438, allocations: 0.8251 MB / 0.8203 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005851/0.6444, allocations: 486.1 kB / 0.8208 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.6449, allocations: 0.5092 MB / 0.8213 GB, free: 0.6016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.6451, allocations: 116 kB / 0.8214 GB, free: 500 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.646, allocations: 483.6 kB / 0.8219 GB, free: 16 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002923/0.6463, allocations: 315 kB / 0.8222 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.000483/0.6468, allocations: 0.5981 MB / 0.8228 GB, free: 15.11 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001947/0.6488, allocations: 1.75 MB / 0.8245 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6488, allocations: 0 / 0.8245 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6488, allocations: 4 kB / 0.8245 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.6488, allocations: 0 / 0.8245 GB, free: 13.35 MB / 0.6544 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.002407/0.6512, allocations: 1.575 MB / 0.826 GB, free: 11.72 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6513, allocations: 12.03 kB / 0.826 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008747/0.6522, allocations: 199.2 kB / 0.8262 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.6534, allocations: 0.8828 MB / 0.8271 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.6535, allocations: 73.94 kB / 0.8271 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.6536, allocations: 92 kB / 0.8272 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001519/0.6551, allocations: 0.973 MB / 0.8282 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.6551, allocations: 0 / 0.8282 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.967e-05/0.6552, allocations: 44 kB / 0.8282 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.6552, allocations: 20 kB / 0.8282 GB, free: 9.348 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.6571, allocations: 1.116 MB / 0.8293 GB, free: 8.227 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003838/0.6609, allocations: 2.65 MB / 0.8319 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/0.6621, allocations: 0.7064 MB / 0.8326 GB, free: 4.801 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004588/0.6626, allocations: 266.4 kB / 0.8329 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.193e-05/0.6627, allocations: 44.5 kB / 0.8329 GB, free: 4.492 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007668/0.6635, allocations: 417.7 kB / 0.8333 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=69): time 2.495e-06/0.6635, allocations: 0 / 0.8333 GB, free: 4.07 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69): time 0.002811/0.6663, allocations: 1.081 MB / 0.8344 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.6664, allocations: 188.5 kB / 0.8345 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00094/0.6674, allocations: 0.7552 MB / 0.8353 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.042e-05/0.6674, allocations: 37.7 kB / 0.8353 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000365/0.6678, allocations: 500 kB / 0.8358 GB, free: 1.434 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.668, allocations: 220.7 kB / 0.836 GB, free: 1.215 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002198/0.6682, allocations: 146.2 kB / 0.8361 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6684, allocations: 338 kB / 0.8365 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004582/0.6688, allocations: 229.2 kB / 0.8367 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005951/0.6694, allocations: 319.3 kB / 0.837 GB, free: 184 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.6705, allocations: 0.5429 MB / 0.8375 GB, free: 15.63 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6705, allocations: 3.938 kB / 0.8375 GB, free: 15.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001761/0.6722, allocations: 0.7741 MB / 0.8383 GB, free: 14.84 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.6723, allocations: 8 kB / 0.8383 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.6723, allocations: 0 / 0.8383 GB, free: 14.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005917/0.6729, allocations: 84.86 kB / 0.8384 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/0.6735, allocations: 135.8 kB / 0.8385 GB, free: 14.61 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002174/0.6757, allocations: 1.646 MB / 0.8401 GB, free: 12.82 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005647/0.6763, allocations: 75.41 kB / 0.8402 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/0.6764, allocations: 35.97 kB / 0.8402 GB, free: 12.71 MB / 0.67 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.0004197/0.6768, allocations: 280.5 kB / 0.8405 GB, free: 12.43 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6769, allocations: 102.7 kB / 0.8406 GB, free: 12.33 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002092/0.679, allocations: 0.9685 MB / 0.8415 GB, free: 11.36 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6791, allocations: 8 kB / 0.8415 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.6791, allocations: 0 / 0.8415 GB, free: 11.35 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.6791, allocations: 7.984 kB / 0.8415 GB, free: 11.34 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.6801, allocations: 0.9352 MB / 0.8424 GB, free: 10.36 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6801, allocations: 4 kB / 0.8425 GB, free: 10.35 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005108/0.6806, allocations: 139.7 kB / 0.8426 GB, free: 10.21 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.6811, allocations: 68.78 kB / 0.8427 GB, free: 10.14 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.6811, allocations: 27.98 kB / 0.8427 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001869/0.683, allocations: 1.666 MB / 0.8443 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.683, allocations: 0 / 0.8443 GB, free: 8.301 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.6847, allocations: 0.8451 MB / 0.8451 GB, free: 7.434 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003587/0.6851, allocations: 275.5 kB / 0.8454 GB, free: 7.145 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.734e-05/0.6852, allocations: 16 kB / 0.8454 GB, free: 7.129 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004827/0.6857, allocations: 52.02 kB / 0.8455 GB, free: 7.078 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.6859, allocations: 56.91 kB / 0.8455 GB, free: 7.023 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.6859, allocations: 31.98 kB / 0.8455 GB, free: 6.992 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006571/0.6866, allocations: 0.5302 MB / 0.8461 GB, free: 6.465 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.9e-07/0.6866, allocations: 0 / 0.8461 GB, free: 6.465 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0007931/0.6874, allocations: 311 kB / 0.8464 GB, free: 6.16 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.00133/0.6887, allocations: 0.5896 MB / 0.8469 GB, free: 5.742 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001593/0.6903, allocations: 0.7357 MB / 0.8477 GB, free: 4.996 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6904, allocations: 3.938 kB / 0.8477 GB, free: 4.992 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.6912, allocations: 484.3 kB / 0.8481 GB, free: 4.504 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001397/0.6926, allocations: 458.9 kB / 0.8486 GB, free: 4.102 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/0.6967, allocations: 1.901 MB / 0.8504 GB, free: 2.168 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007406/0.6975, allocations: 1.078 MB / 0.8515 GB, free: 1.062 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008249/0.6983, allocations: 271.1 kB / 0.8517 GB, free: 0.793 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.6985, allocations: 99.39 kB / 0.8518 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of SimCode: time 1.502e-06/0.6985, allocations: 0 / 0.8518 GB, free: 0.6953 MB / 0.67 GB Notification: Performance of Templates: time 0.02681/0.7254, allocations: 16.02 MB / 0.8675 GB, free: 0.8203 MB / 0.6856 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)