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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 133.6 MB / 141.6 MB, free: 2.914 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 395.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 100.2 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.523e-05, allocations: 0 / 0.5535 GB, free: 9.066 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4533, allocations: 82.31 MB / 0.6338 GB, free: 40.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.901/4.355, allocations: 1.694 GB / 2.328 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/4.355, allocations: 87.33 kB / 2.328 GB, free: 42.63 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.6359/4.991, allocations: 63.14 MB / 2.39 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.294e-06/4.991, allocations: 0 / 2.39 GB, free: 234.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001065/4.991, allocations: 32.53 kB / 2.39 GB, free: 234.2 MB / 0.6823 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.002144/4.993, allocations: 1.24 MB / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/4.993, allocations: 7.812 kB / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009165/4.994, allocations: 218.2 kB / 2.391 GB, free: 233.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001365/4.996, allocations: 0.7747 MB / 2.392 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.339e-05/4.996, allocations: 32.06 kB / 2.392 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.925e-05/4.996, allocations: 50.81 kB / 2.392 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001564/4.997, allocations: 1.026 MB / 2.393 GB, free: 233.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001375/4.999, allocations: 0.799 MB / 2.394 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/4.999, allocations: 1.594 kB / 2.394 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-05/4.999, allocations: 3.781 kB / 2.394 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/4.999, allocations: 25.06 kB / 2.394 GB, free: 233 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/5.003, allocations: 2.552 MB / 2.396 GB, free: 232.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009453/5.004, allocations: 0.6391 MB / 2.397 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/5.004, allocations: 231.8 kB / 2.397 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-05/5.004, allocations: 35.52 kB / 2.397 GB, free: 232.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006108/5.005, allocations: 375 kB / 2.398 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=69): time 4.278e-06/5.005, allocations: 2.219 kB / 2.398 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69): time 0.001586/5.006, allocations: 0.6384 MB / 2.398 GB, free: 232.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/5.007, allocations: 244.4 kB / 2.398 GB, free: 231.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/5.007, allocations: 0.6134 MB / 2.399 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.235e-05/5.007, allocations: 30.73 kB / 2.399 GB, free: 231.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003781/5.008, allocations: 491.8 kB / 2.4 GB, free: 231.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/5.008, allocations: 218.3 kB / 2.4 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/5.008, allocations: 0 / 2.4 GB, free: 231.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.098e-05/5.008, allocations: 332.4 kB / 2.4 GB, free: 231 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002528/5.008, allocations: 183.1 kB / 2.4 GB, free: 231 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/5.009, allocations: 283.1 kB / 2.401 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/5.009, allocations: 227.3 kB / 2.401 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/5.009, allocations: 7.828 kB / 2.401 GB, free: 230.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001331/5.01, allocations: 0.642 MB / 2.401 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/5.011, allocations: 5.312 kB / 2.401 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/5.011, allocations: 4.562 kB / 2.401 GB, free: 230.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/5.011, allocations: 82.48 kB / 2.401 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005398/5.012, allocations: 132.3 kB / 2.402 GB, free: 230.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/5.013, allocations: 1.466 MB / 2.403 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/5.014, allocations: 58.17 kB / 2.403 GB, free: 229.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.633e-05/5.014, allocations: 28.25 kB / 2.403 GB, free: 229.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001643/5.014, allocations: 120.3 kB / 2.403 GB, free: 229.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/5.014, allocations: 90.19 kB / 2.403 GB, free: 229.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001816/5.016, allocations: 0.8835 MB / 2.404 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/5.016, allocations: 12.03 kB / 2.404 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/5.016, allocations: 3.953 kB / 2.404 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/5.016, allocations: 4.312 kB / 2.404 GB, free: 229.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/5.017, allocations: 0.8293 MB / 2.405 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/5.017, allocations: 3.375 kB / 2.405 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004948/5.018, allocations: 137.6 kB / 2.405 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004704/5.018, allocations: 89.41 kB / 2.405 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.553e-05/5.018, allocations: 17 kB / 2.405 GB, free: 229 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001512/5.02, allocations: 1.486 MB / 2.407 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/5.02, allocations: 0 / 2.407 GB, free: 227.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00133/5.021, allocations: 0.7579 MB / 2.407 GB, free: 227.6 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003609/5.022, allocations: 284.4 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/5.022, allocations: 3.953 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/5.022, allocations: 55.41 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/5.022, allocations: 58.05 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.307e-05/5.022, allocations: 27.34 kB / 2.408 GB, free: 227.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00063/5.023, allocations: 495.7 kB / 2.408 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/5.023, allocations: 0 / 2.408 GB, free: 227.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001266/5.024, allocations: 356.3 kB / 2.409 GB, free: 227.3 MB / 0.6823 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002061/5.026, allocations: 1.077 MB / 2.41 GB, free: 227.1 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001158/5.028, allocations: 0.625 MB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/5.028, allocations: 4.125 kB / 2.41 GB, free: 227 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006162/5.028, allocations: 443.1 kB / 2.411 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/5.03, allocations: 358.1 kB / 2.411 GB, free: 226.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003552/5.033, allocations: 1.458 MB / 2.412 GB, free: 226.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000522/5.034, allocations: 1.1 MB / 2.414 GB, free: 225.5 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000916/5.035, allocations: 278.8 kB / 2.414 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002243/5.035, allocations: 99.41 kB / 2.414 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of SimCode: time 7.72e-07/5.035, allocations: 0 / 2.414 GB, free: 225.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.0284/5.063, allocations: 17.26 MB / 2.431 GB, free: 219.3 MB / 0.6823 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)