Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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/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/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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 166 kB / 7.639 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8479/0.8479, allocations: 130.7 MB / 138.7 MB, free: 3.508 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.411/1.411, allocations: 221.5 MB / 391.8 MB, free: 14.19 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.000868/0.000868, allocations: 97.17 kB / 473.9 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.952e-05, allocations: 4 kB / 0.5485 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4694/0.4694, allocations: 81.57 MB / 0.6282 GB, free: 42.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.158/0.6275, allocations: 115.1 MB / 0.7406 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.6278, allocations: 91.94 kB / 0.7407 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.02349/0.6513, allocations: 8.814 MB / 0.7493 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6513, allocations: 0 / 0.7493 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.936e-05/0.6514, allocations: 8 kB / 0.7493 GB, free: 2.723 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000669/0.6521, allocations: 0.4911 MB / 0.7498 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.6521, allocations: 8.031 kB / 0.7498 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.6523, allocations: 35.61 kB / 0.7498 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003803/0.6527, allocations: 281.5 kB / 0.7501 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.6527, allocations: 11.98 kB / 0.7501 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.6527, allocations: 8 kB / 0.7501 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000911/0.6536, allocations: 0.7276 MB / 0.7508 GB, free: 1.086 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.654, allocations: 215.7 kB / 0.751 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.654, allocations: 0 / 0.751 GB, free: 0.8594 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.6541, allocations: 7.938 kB / 0.751 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.6541, allocations: 4 kB / 0.751 GB, free: 0.8477 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009265/0.655, allocations: 0.5555 MB / 0.7516 GB, free: 256 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004394/0.6555, allocations: 277.8 kB / 0.7519 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001385/0.6556, allocations: 101.4 kB / 0.7519 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.692e-05/0.6557, allocations: 20.16 kB / 0.752 GB, free: 15.85 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002771/0.656, allocations: 163.5 kB / 0.7521 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.656, allocations: 0 / 0.7521 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=35): time 0.0004924/0.6565, allocations: 268.9 kB / 0.7524 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/0.6566, allocations: 136.5 kB / 0.7525 GB, free: 15.24 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.6569, allocations: 268.3 kB / 0.7528 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.6569, allocations: 25.7 kB / 0.7528 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.159e-05/0.657, allocations: 136.7 kB / 0.7529 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.947e-05/0.6571, allocations: 102.4 kB / 0.753 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.6571, allocations: 0 / 0.753 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6573, allocations: 342.8 kB / 0.7533 GB, free: 14.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/0.6574, allocations: 71.98 kB / 0.7534 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.6575, allocations: 119.7 kB / 0.7535 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.6577, allocations: 108.2 kB / 0.7536 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6577, allocations: 0 / 0.7536 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003784/0.6581, allocations: 253.1 kB / 0.7539 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6581, allocations: 4 kB / 0.7539 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6581, allocations: 0 / 0.7539 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.6582, allocations: 4 kB / 0.7539 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.6584, allocations: 63.91 kB / 0.7539 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.6584, allocations: 7.953 kB / 0.7539 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/0.6586, allocations: 23.77 kB / 0.754 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.6586, allocations: 12 kB / 0.754 GB, free: 13.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.6587, allocations: 109.6 kB / 0.7541 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.6588, allocations: 35.61 kB / 0.7541 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006303/0.6594, allocations: 361.2 kB / 0.7545 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.6594, allocations: 4 kB / 0.7545 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.6595, allocations: 0 / 0.7545 GB, free: 13.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.6595, allocations: 3.953 kB / 0.7545 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.6598, allocations: 305.8 kB / 0.7548 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6598, allocations: 4 kB / 0.7548 GB, free: 12.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.66, allocations: 63.84 kB / 0.7548 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.82e-06/0.66, allocations: 4 kB / 0.7548 GB, free: 12.77 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.66, allocations: 7.984 kB / 0.7548 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.66, allocations: 0 / 0.7548 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.66, allocations: 4 kB / 0.7548 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004174/0.6604, allocations: 309.5 kB / 0.7551 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.6606, allocations: 160.6 kB / 0.7553 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.6606, allocations: 0 / 0.7553 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.6608, allocations: 23.97 kB / 0.7553 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.681e-05/0.6609, allocations: 23.97 kB / 0.7553 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/0.6609, allocations: 19.98 kB / 0.7554 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001872/0.6611, allocations: 208.5 kB / 0.7556 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6611, allocations: 0 / 0.7556 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003031/0.6614, allocations: 71.84 kB / 0.7556 GB, free: 11.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008038/0.6623, allocations: 354.3 kB / 0.756 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003656/0.6626, allocations: 208.3 kB / 0.7562 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6626, allocations: 0 / 0.7562 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.6628, allocations: 120.4 kB / 0.7563 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.6631, allocations: 32.36 kB / 0.7563 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006619/0.6637, allocations: 406.4 kB / 0.7567 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003451/0.6641, allocations: 0.7656 MB / 0.7574 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000343/0.6644, allocations: 155.1 kB / 0.7576 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.402e-05/0.6645, allocations: 43.42 kB / 0.7576 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of SimCode: time 2.31e-07/0.6645, allocations: 0 / 0.7576 GB, free: 9.887 MB / 0.5417 GB Notification: Performance of Templates: time 0.006201/0.6707, allocations: 3.14 MB / 0.7607 GB, free: 6.773 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)