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.0012/0.0012, allocations: 103.7 kB / 16.4 MB, free: 6.453 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.00125/0.001251, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7667/0.7667, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.62 kB / 0.5863 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1673, allocations: 80.92 MB / 0.6653 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00314/0.1705, allocations: 1.864 MB / 0.6671 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.1728, allocations: 1.569 MB / 0.6687 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.1728, allocations: 0 / 0.6687 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1731, allocations: 35.78 kB / 0.6687 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1734, allocations: 71.61 kB / 0.6688 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1738, allocations: 175 kB / 0.6689 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.1741, allocations: 269.5 kB / 0.6692 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.1743, allocations: 37.03 kB / 0.6692 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.1744, allocations: 99.69 kB / 0.6693 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002321/0.1746, allocations: 103.7 kB / 0.6694 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1747, allocations: 20 kB / 0.6694 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001511/0.1748, allocations: 83.97 kB / 0.6695 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1749, allocations: 91.72 kB / 0.6696 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001238/0.1751, allocations: 123.3 kB / 0.6697 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.1754, allocations: 315 kB / 0.67 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1754, allocations: 4 kB / 0.67 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1755, allocations: 4 kB / 0.67 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.1755, allocations: 0 / 0.67 GB, free: 0.9258 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.0008049/0.1763, allocations: 0.55 MB / 0.6706 GB, free: 336 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.1763, allocations: 13.11 kB / 0.6706 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.1765, allocations: 36.55 kB / 0.6706 GB, free: 288 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1768, allocations: 266.8 kB / 0.6709 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1768, allocations: 20.14 kB / 0.6709 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.1769, allocations: 20.12 kB / 0.6709 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003597/0.1772, allocations: 232.7 kB / 0.6711 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1773, allocations: 0 / 0.6711 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1773, allocations: 12 kB / 0.6711 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1773, allocations: 4 kB / 0.6711 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008373/0.1781, allocations: 0.7449 MB / 0.6719 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/0.1792, allocations: 0.6214 MB / 0.6725 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.1796, allocations: 303.3 kB / 0.6728 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1798, allocations: 117.3 kB / 0.6729 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.328e-05/0.1799, allocations: 20.25 kB / 0.6729 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003381/0.1802, allocations: 187.8 kB / 0.6731 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=35): time 1.413e-06/0.1802, allocations: 0 / 0.6731 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=35): time 0.00064/0.1809, allocations: 376.9 kB / 0.6734 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.181, allocations: 132.5 kB / 0.6736 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.1813, allocations: 309 kB / 0.6739 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1813, allocations: 33.7 kB / 0.6739 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.278e-05/0.1814, allocations: 136.6 kB / 0.674 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 9.76e-05/0.1815, allocations: 114.3 kB / 0.6741 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.651e-05/0.1816, allocations: 65.69 kB / 0.6742 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1817, allocations: 342.8 kB / 0.6745 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/0.1819, allocations: 87.88 kB / 0.6746 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1821, allocations: 124.6 kB / 0.6747 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.1824, allocations: 209.1 kB / 0.6749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1824, allocations: 0 / 0.6749 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000419/0.1828, allocations: 296.8 kB / 0.6752 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.1828, allocations: 9.969 kB / 0.6752 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1829, allocations: 4 kB / 0.6752 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1829, allocations: 3.938 kB / 0.6752 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.1831, allocations: 63.91 kB / 0.6753 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1831, allocations: 7.938 kB / 0.6753 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.1833, allocations: 27.83 kB / 0.6753 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.1833, allocations: 11.98 kB / 0.6753 GB, free: 11.23 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.0001645/0.1835, allocations: 165.7 kB / 0.6755 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.1835, allocations: 31.62 kB / 0.6755 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006348/0.1842, allocations: 380.7 kB / 0.6759 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1842, allocations: 7.938 kB / 0.6759 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1842, allocations: 4 kB / 0.6759 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1842, allocations: 0 / 0.6759 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003205/0.1845, allocations: 341.3 kB / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1845, allocations: 0 / 0.6762 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/0.1847, allocations: 59.91 kB / 0.6763 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1847, allocations: 4 kB / 0.6763 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/0.1847, allocations: 8 kB / 0.6763 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1847, allocations: 3.938 kB / 0.6763 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.1848, allocations: 0 / 0.6763 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.1852, allocations: 334.1 kB / 0.6766 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/0.1854, allocations: 140.7 kB / 0.6767 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1854, allocations: 8 kB / 0.6768 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1856, allocations: 30.3 kB / 0.6768 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.543e-05/0.1856, allocations: 27.91 kB / 0.6768 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.48e-05/0.1857, allocations: 11.98 kB / 0.6768 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001923/0.1859, allocations: 240.4 kB / 0.677 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1859, allocations: 0 / 0.677 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002816/0.1862, allocations: 71.94 kB / 0.6771 GB, free: 9.289 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.0009203/0.1871, allocations: 415.4 kB / 0.6775 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.1875, allocations: 235.8 kB / 0.6777 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1875, allocations: 0 / 0.6777 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.1877, allocations: 127.9 kB / 0.6779 GB, free: 8.668 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.188, allocations: 46.36 kB / 0.6779 GB, free: 8.625 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008296/0.1888, allocations: 0.5582 MB / 0.6784 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003439/0.1892, allocations: 0.7614 MB / 0.6792 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.1893, allocations: 51.42 kB / 0.6792 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1893, allocations: 0 / 0.6792 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of Templates: time 0.006827/0.1961, allocations: 4.509 MB / 0.6836 GB, free: 2.703 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)