Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009675/0.0009676, allocations: 110.9 kB / 16.41 MB, free: 6.492 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.0009424/0.0009425, allocations: 187 kB / 17.34 MB, free: 5.766 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7778/0.7778, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 63.72 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1391, allocations: 80.93 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003234/0.1424, allocations: 1.855 MB / 0.6671 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1446, allocations: 1.573 MB / 0.6687 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.572e-05/0.1448, allocations: 4 kB / 0.6687 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.145, allocations: 27.78 kB / 0.6687 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003125/0.1453, allocations: 75.55 kB / 0.6688 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00046/0.1458, allocations: 175.1 kB / 0.6689 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003192/0.1461, allocations: 277.4 kB / 0.6692 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1462, allocations: 33.03 kB / 0.6692 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1464, allocations: 91.75 kB / 0.6693 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1466, allocations: 103.7 kB / 0.6694 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.185e-05/0.1467, allocations: 24 kB / 0.6694 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001855/0.1469, allocations: 79.97 kB / 0.6695 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.147, allocations: 95.73 kB / 0.6696 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.1471, allocations: 119.3 kB / 0.6697 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/0.1475, allocations: 315 kB / 0.67 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1475, allocations: 0 / 0.67 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1475, allocations: 3.938 kB / 0.67 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.1476, allocations: 4 kB / 0.67 GB, free: 0.9453 MB / 0.4981 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.0008131/0.1484, allocations: 0.55 MB / 0.6706 GB, free: 356 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1484, allocations: 9.109 kB / 0.6706 GB, free: 348 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.1486, allocations: 36.56 kB / 0.6706 GB, free: 312 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.1489, allocations: 274.7 kB / 0.6709 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.149, allocations: 20.27 kB / 0.6709 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.877e-05/0.149, allocations: 24.06 kB / 0.6709 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.1494, allocations: 232.7 kB / 0.6711 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.1494, allocations: 0 / 0.6711 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.1494, allocations: 12 kB / 0.6711 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.1494, allocations: 7.984 kB / 0.6712 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.1503, allocations: 0.7449 MB / 0.6719 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.1513, allocations: 0.6215 MB / 0.6725 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004667/0.1518, allocations: 307.3 kB / 0.6728 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.1519, allocations: 109.4 kB / 0.6729 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.122e-05/0.152, allocations: 20.25 kB / 0.6729 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003254/0.1523, allocations: 183.8 kB / 0.6731 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.904e-06/0.1523, allocations: 0 / 0.6731 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.0006426/0.153, allocations: 380.9 kB / 0.6734 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.763e-05/0.1531, allocations: 136.5 kB / 0.6736 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.1533, allocations: 305 kB / 0.6739 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.1534, allocations: 37.7 kB / 0.6739 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.588e-05/0.1535, allocations: 132.6 kB / 0.674 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.67e-05/0.1536, allocations: 118.3 kB / 0.6741 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.4e-05/0.1537, allocations: 65.69 kB / 0.6742 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.1538, allocations: 334.8 kB / 0.6745 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.1539, allocations: 79.95 kB / 0.6746 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1541, allocations: 136.5 kB / 0.6747 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.1544, allocations: 217.1 kB / 0.6749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1544, allocations: 0 / 0.6749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004184/0.1549, allocations: 288.8 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1549, allocations: 9.875 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1549, allocations: 0 / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1549, allocations: 3.938 kB / 0.6752 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002135/0.1551, allocations: 63.91 kB / 0.6753 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1551, allocations: 4 kB / 0.6753 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.1553, allocations: 27.83 kB / 0.6753 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.29e-05/0.1553, allocations: 12 kB / 0.6753 GB, free: 11.25 MB / 0.5137 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1555, allocations: 161.8 kB / 0.6755 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.43e-05/0.1555, allocations: 31.61 kB / 0.6755 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.1562, allocations: 388.6 kB / 0.6759 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.1562, allocations: 7.938 kB / 0.6759 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1562, allocations: 0 / 0.6759 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.1562, allocations: 0 / 0.6759 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000309/0.1565, allocations: 341.3 kB / 0.6762 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1565, allocations: 0 / 0.6762 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.1567, allocations: 59.91 kB / 0.6763 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1567, allocations: 4 kB / 0.6763 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1567, allocations: 11.94 kB / 0.6763 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1567, allocations: 3.938 kB / 0.6763 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1567, allocations: 0 / 0.6763 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.1572, allocations: 330.1 kB / 0.6766 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.1573, allocations: 140.7 kB / 0.6767 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1574, allocations: 12 kB / 0.6768 GB, free: 9.672 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.1576, allocations: 31.91 kB / 0.6768 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.1576, allocations: 23.97 kB / 0.6768 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.1577, allocations: 15.98 kB / 0.6768 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001936/0.1579, allocations: 240.4 kB / 0.6771 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1579, allocations: 0 / 0.6771 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002903/0.1582, allocations: 63.94 kB / 0.6771 GB, free: 9.305 MB / 0.5137 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00089/0.1591, allocations: 415 kB / 0.6775 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.1595, allocations: 239.8 kB / 0.6777 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.1595, allocations: 0 / 0.6777 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001878/0.1597, allocations: 131.8 kB / 0.6779 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.16, allocations: 42.23 kB / 0.6779 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/0.1608, allocations: 0.5581 MB / 0.6784 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.1611, allocations: 0.7614 MB / 0.6792 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001035/0.1612, allocations: 51.41 kB / 0.6792 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1612, allocations: 0 / 0.6792 GB, free: 7.215 MB / 0.5137 GB Notification: Performance of Templates: time 0.006842/0.1681, allocations: 4.477 MB / 0.6836 GB, free: 2.75 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)