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.007318/0.007318, allocations: 95.92 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.001619/0.001619, allocations: 197.7 kB / 16.68 MB, free: 5.969 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7653/0.7653, allocations: 132.2 MB / 422.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 66.02 kB / 0.5813 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1779, allocations: 80.21 MB / 0.6597 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007008/0.185, allocations: 4.884 MB / 0.6644 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1654/0.3504, allocations: 150.7 MB / 0.8116 GB, free: 1.297 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.3519, allocations: 23.88 kB / 0.8117 GB, free: 1.273 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0008733/0.3529, allocations: 341.5 kB / 0.812 GB, free: 0.9375 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001646/0.3545, allocations: 493.4 kB / 0.8125 GB, free: 468 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.4822/0.8367, allocations: 0.8166 MB / 0.8133 GB, free: 3.609 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002538/0.8393, allocations: 1.353 MB / 0.8146 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.8406, allocations: 0.8087 MB / 0.8154 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008559/0.8414, allocations: 487.8 kB / 0.8158 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000702/0.8421, allocations: 0.5033 MB / 0.8163 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.8424, allocations: 118.8 kB / 0.8164 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.8436, allocations: 489.4 kB / 0.8169 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.844, allocations: 304 kB / 0.8172 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007136/0.8447, allocations: 0.5935 MB / 0.8178 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003168/0.8479, allocations: 1.771 MB / 0.8195 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.8479, allocations: 0.5 kB / 0.8195 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8479, allocations: 0.6562 kB / 0.8195 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.522e-05/0.8479, allocations: 1.125 kB / 0.8195 GB, free: 3.352 MB / 0.6387 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.003075/0.851, allocations: 1.617 MB / 0.8211 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8511, allocations: 9.062 kB / 0.8211 GB, free: 2.484 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009682/0.852, allocations: 214.3 kB / 0.8213 GB, free: 2.406 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.8535, allocations: 0.8804 MB / 0.8222 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.8536, allocations: 76.91 kB / 0.8222 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.8537, allocations: 90.48 kB / 0.8223 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/0.8556, allocations: 0.9647 MB / 0.8233 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.8556, allocations: 4.891 kB / 0.8233 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.8557, allocations: 41.38 kB / 0.8233 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.725e-05/0.8557, allocations: 24.59 kB / 0.8233 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.8577, allocations: 1.119 MB / 0.8244 GB, free: 1.906 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004057/0.8618, allocations: 2.659 MB / 0.827 GB, free: 1.113 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.863, allocations: 0.7039 MB / 0.8277 GB, free: 1.078 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004825/0.8635, allocations: 271.8 kB / 0.828 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 7.675e-05/0.8636, allocations: 26.88 kB / 0.828 GB, free: 1.066 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007434/0.8644, allocations: 421.1 kB / 0.8284 GB, free: 1 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=69): time 3.367e-06/0.8644, allocations: 0.8438 kB / 0.8284 GB, free: 1 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69): time 0.002873/0.8672, allocations: 1.086 MB / 0.8294 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.8674, allocations: 189.5 kB / 0.8296 GB, free: 0.5742 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009997/0.8684, allocations: 0.7525 MB / 0.8304 GB, free: 456 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.8685, allocations: 40.08 kB / 0.8304 GB, free: 16.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003826/0.8689, allocations: 0.4949 MB / 0.8309 GB, free: 16.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.8691, allocations: 242.6 kB / 0.8311 GB, free: 16.04 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002501/0.8693, allocations: 143.8 kB / 0.8313 GB, free: 16.02 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.8695, allocations: 332.1 kB / 0.8316 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.87, allocations: 233.1 kB / 0.8318 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006005/0.8706, allocations: 324.7 kB / 0.8321 GB, free: 15.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.8717, allocations: 0.5383 MB / 0.8326 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.8717, allocations: 1.094 kB / 0.8326 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001787/0.8735, allocations: 0.7819 MB / 0.8334 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.8735, allocations: 7.281 kB / 0.8334 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.8735, allocations: 2.906 kB / 0.8334 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005666/0.8741, allocations: 83.5 kB / 0.8335 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005654/0.8747, allocations: 137.8 kB / 0.8336 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.8767, allocations: 1.648 MB / 0.8352 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006921/0.8774, allocations: 83.61 kB / 0.8353 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.8775, allocations: 34.73 kB / 0.8353 GB, free: 14.1 MB / 0.6544 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.0004874/0.878, allocations: 276.8 kB / 0.8356 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.8781, allocations: 100.2 kB / 0.8357 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.8802, allocations: 0.9752 MB / 0.8366 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.8802, allocations: 7.781 kB / 0.8367 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.8802, allocations: 0.75 kB / 0.8367 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.759e-06/0.8802, allocations: 4.875 kB / 0.8367 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.8813, allocations: 0.9376 MB / 0.8376 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8813, allocations: 0 / 0.8376 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.8818, allocations: 134.8 kB / 0.8377 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003967/0.8822, allocations: 70.69 kB / 0.8378 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.8823, allocations: 26.34 kB / 0.8378 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001781/0.884, allocations: 1.671 MB / 0.8394 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.8841, allocations: 6.953 kB / 0.8394 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001667/0.8857, allocations: 0.8447 MB / 0.8403 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003364/0.8861, allocations: 271.6 kB / 0.8405 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.8862, allocations: 21.19 kB / 0.8405 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.8867, allocations: 52.64 kB / 0.8406 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8868, allocations: 60.2 kB / 0.8406 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.8869, allocations: 32.48 kB / 0.8407 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006881/0.8876, allocations: 0.5299 MB / 0.8412 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8876, allocations: 0 / 0.8412 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001203/0.8888, allocations: 317.6 kB / 0.8415 GB, free: 11.73 MB / 0.6544 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.001545/0.8904, allocations: 0.5923 MB / 0.8421 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001425/0.8918, allocations: 0.7469 MB / 0.8428 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8918, allocations: 2.844 kB / 0.8428 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007449/0.8926, allocations: 480.2 kB / 0.8433 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.8941, allocations: 451.1 kB / 0.8437 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.8979, allocations: 1.95 MB / 0.8456 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.8986, allocations: 1.074 MB / 0.8467 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0009068/0.8995, allocations: 271 kB / 0.8469 GB, free: 9.777 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.8997, allocations: 110 kB / 0.847 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of SimCode: time 2.685e-06/0.8998, allocations: 0 / 0.847 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of Templates: time 0.02617/0.9259, allocations: 15.99 MB / 0.8626 GB, free: 7.703 MB / 0.6544 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)