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.008199/0.0082, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.002022/0.002022, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7902/0.7902, allocations: 135.2 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.64 kB / 0.5856 GB, free: 21.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1518, allocations: 80.93 MB / 0.6646 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006396/0.1582, allocations: 4.866 MB / 0.6694 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.6028/0.761, allocations: 150.7 MB / 0.8166 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.7623, allocations: 27.59 kB / 0.8166 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.7632, allocations: 334.4 kB / 0.8169 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001713/0.7649, allocations: 0.4897 MB / 0.8174 GB, free: 7.906 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002021/0.7669, allocations: 0.8221 MB / 0.8182 GB, free: 7.578 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001417/0.7684, allocations: 1.356 MB / 0.8195 GB, free: 7.199 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.7694, allocations: 0.8111 MB / 0.8203 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006547/0.7701, allocations: 495.2 kB / 0.8208 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.7706, allocations: 0.5006 MB / 0.8213 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.7708, allocations: 117.6 kB / 0.8214 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008484/0.7716, allocations: 493.8 kB / 0.8219 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.7719, allocations: 311.2 kB / 0.8222 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004863/0.7724, allocations: 0.5917 MB / 0.8227 GB, free: 5.281 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001837/0.7743, allocations: 1.76 MB / 0.8245 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.7743, allocations: 0 / 0.8245 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.175e-06/0.7743, allocations: 0 / 0.8245 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.373e-05/0.7743, allocations: 0 / 0.8245 GB, free: 3.984 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.002352/0.7767, allocations: 1.576 MB / 0.826 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.7767, allocations: 8.578 kB / 0.826 GB, free: 2.73 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/0.7777, allocations: 207.6 kB / 0.8262 GB, free: 2.633 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.7788, allocations: 0.8711 MB / 0.8271 GB, free: 1.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.767e-05/0.7789, allocations: 72.12 kB / 0.8271 GB, free: 1.895 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.779, allocations: 92.83 kB / 0.8272 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.7806, allocations: 0.9731 MB / 0.8282 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.7807, allocations: 3.938 kB / 0.8282 GB, free: 1.242 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.7807, allocations: 38.31 kB / 0.8282 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.7808, allocations: 22.84 kB / 0.8282 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001713/0.7825, allocations: 1.118 MB / 0.8293 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003781/0.7863, allocations: 2.655 MB / 0.8319 GB, free: 14.65 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.7875, allocations: 0.6992 MB / 0.8326 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004709/0.788, allocations: 273.8 kB / 0.8329 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.7881, allocations: 28.81 kB / 0.8329 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007445/0.7888, allocations: 422.8 kB / 0.8333 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=69): time 2.044e-06/0.7889, allocations: 0 / 0.8333 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of matching and sorting (n=69): time 0.002906/0.7918, allocations: 1.074 MB / 0.8343 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.7919, allocations: 188.6 kB / 0.8345 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.793, allocations: 0.7589 MB / 0.8353 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.457e-05/0.7931, allocations: 40.61 kB / 0.8353 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004447/0.7936, allocations: 495.1 kB / 0.8358 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/0.7938, allocations: 228.1 kB / 0.836 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000237/0.794, allocations: 150.7 kB / 0.8361 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.7942, allocations: 329.6 kB / 0.8364 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005005/0.7947, allocations: 229.1 kB / 0.8367 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006042/0.7953, allocations: 324.7 kB / 0.837 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.7964, allocations: 0.5431 MB / 0.8375 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7964, allocations: 0 / 0.8375 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001871/0.7983, allocations: 0.779 MB / 0.8383 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.7983, allocations: 5.25 kB / 0.8383 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.7983, allocations: 1.562 kB / 0.8383 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.7989, allocations: 83.77 kB / 0.8384 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.7994, allocations: 141.6 kB / 0.8385 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.8016, allocations: 1.647 MB / 0.8401 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.8022, allocations: 75.78 kB / 0.8402 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.8023, allocations: 34.41 kB / 0.8402 GB, free: 8.797 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.0005158/0.8029, allocations: 277.2 kB / 0.8405 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.803, allocations: 99.88 kB / 0.8406 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/0.8053, allocations: 0.9771 MB / 0.8415 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.8053, allocations: 7.469 kB / 0.8415 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8053, allocations: 96 / 0.8415 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.8053, allocations: 10.34 kB / 0.8415 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.8065, allocations: 0.9333 MB / 0.8424 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.8065, allocations: 0 / 0.8424 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.8071, allocations: 137.2 kB / 0.8426 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004528/0.8075, allocations: 77.97 kB / 0.8426 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.8076, allocations: 19.36 kB / 0.8427 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/0.8096, allocations: 1.668 MB / 0.8443 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.8096, allocations: 0 / 0.8443 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.8115, allocations: 0.8442 MB / 0.8451 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.8119, allocations: 275.2 kB / 0.8454 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.812, allocations: 16.88 kB / 0.8454 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.8126, allocations: 53.23 kB / 0.8454 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.8127, allocations: 60.22 kB / 0.8455 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.8128, allocations: 27.98 kB / 0.8455 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006968/0.8135, allocations: 0.5277 MB / 0.846 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.8135, allocations: 0 / 0.846 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008947/0.8144, allocations: 308.6 kB / 0.8463 GB, free: 4.371 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.001392/0.8158, allocations: 0.6007 MB / 0.8469 GB, free: 4.086 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001621/0.8174, allocations: 0.7389 MB / 0.8476 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8174, allocations: 0 / 0.8476 GB, free: 3.367 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.8183, allocations: 488.4 kB / 0.8481 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/0.82, allocations: 463.2 kB / 0.8486 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004121/0.8241, allocations: 1.9 MB / 0.8504 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006667/0.8248, allocations: 1.074 MB / 0.8515 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008518/0.8257, allocations: 275.1 kB / 0.8517 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/0.8259, allocations: 103.4 kB / 0.8518 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of SimCode: time 8.51e-07/0.826, allocations: 4 kB / 0.8518 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of Templates: time 0.02627/0.8522, allocations: 16.02 MB / 0.8675 GB, free: 15.16 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)