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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009487/0.0009485, allocations: 101.4 kB / 15.06 MB, free: 1.094 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.0009996/0.0009996, allocations: 177.3 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9336/0.9336, allocations: 135.2 MB / 426.2 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003583/0.0003584, allocations: 17.06 kB / 0.5068 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.31 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002297/0.1705, allocations: 1.515 MB / 0.5887 GB, free: 1.625 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.1728, allocations: 1.442 MB / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.85e-05/0.1729, allocations: 0 / 0.5901 GB, free: 180 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1731, allocations: 35.83 kB / 0.5901 GB, free: 144 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.1734, allocations: 67.28 kB / 0.5902 GB, free: 80 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.1739, allocations: 150.8 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.1742, allocations: 165.7 kB / 0.5905 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1743, allocations: 29.09 kB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1745, allocations: 79.81 kB / 0.5906 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002239/0.1747, allocations: 67.81 kB / 0.5907 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1747, allocations: 12 kB / 0.5907 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.1749, allocations: 59.84 kB / 0.5907 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.67e-05/0.175, allocations: 75.8 kB / 0.5908 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.1751, allocations: 61.58 kB / 0.5909 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.1754, allocations: 215.8 kB / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1754, allocations: 0 / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1754, allocations: 0 / 0.5911 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.19e-05/0.1754, allocations: 4 kB / 0.5911 GB, free: 15.18 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.0007554/0.1762, allocations: 0.5148 MB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1762, allocations: 8.031 kB / 0.5916 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.1764, allocations: 27.72 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003153/0.1767, allocations: 269.5 kB / 0.5919 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1767, allocations: 11.94 kB / 0.5919 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1768, allocations: 20 kB / 0.5919 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.1772, allocations: 232.8 kB / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.1772, allocations: 0 / 0.5921 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1772, allocations: 4 kB / 0.5921 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.878e-06/0.1772, allocations: 8 kB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008395/0.1781, allocations: 0.7451 MB / 0.5929 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.1791, allocations: 0.6456 MB / 0.5935 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004508/0.1796, allocations: 305.9 kB / 0.5938 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.749e-05/0.1797, allocations: 24.23 kB / 0.5938 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003228/0.18, allocations: 175.4 kB / 0.594 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.774e-06/0.18, allocations: 0 / 0.594 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0006161/0.1806, allocations: 378.4 kB / 0.5943 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.1807, allocations: 132.5 kB / 0.5945 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002797/0.181, allocations: 316.9 kB / 0.5948 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.181, allocations: 29.7 kB / 0.5948 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.797e-05/0.1811, allocations: 136.6 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.1812, allocations: 110.4 kB / 0.595 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.1813, allocations: 4 kB / 0.595 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1814, allocations: 338.8 kB / 0.5954 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.1815, allocations: 87.88 kB / 0.5954 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.1817, allocations: 129.8 kB / 0.5956 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.1819, allocations: 104.3 kB / 0.5957 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1819, allocations: 0 / 0.5957 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004142/0.1823, allocations: 285 kB / 0.5959 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1823, allocations: 4 kB / 0.5959 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1823, allocations: 0 / 0.5959 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1824, allocations: 4 kB / 0.5959 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1826, allocations: 67.86 kB / 0.596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1826, allocations: 0 / 0.596 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.1828, allocations: 35.77 kB / 0.596 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.1828, allocations: 8 kB / 0.596 GB, free: 9.816 MB / 0.4981 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.183, allocations: 166.1 kB / 0.5962 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.183, allocations: 31.7 kB / 0.5962 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006241/0.1837, allocations: 384.6 kB / 0.5966 GB, free: 9.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1837, allocations: 8 kB / 0.5966 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.1837, allocations: 3.953 kB / 0.5966 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1837, allocations: 0 / 0.5966 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.184, allocations: 345.1 kB / 0.5969 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.184, allocations: 0 / 0.5969 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.1842, allocations: 63.91 kB / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.509e-06/0.1842, allocations: 0 / 0.597 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.1843, allocations: 8 kB / 0.597 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1843, allocations: 4 kB / 0.597 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1843, allocations: 0 / 0.597 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004479/0.1847, allocations: 338.1 kB / 0.5973 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1849, allocations: 144.6 kB / 0.5975 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1849, allocations: 11.98 kB / 0.5975 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1851, allocations: 27.23 kB / 0.5975 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.1852, allocations: 27.95 kB / 0.5975 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.291e-05/0.1853, allocations: 20 kB / 0.5976 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001998/0.1855, allocations: 236.4 kB / 0.5978 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1855, allocations: 0 / 0.5978 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002882/0.1858, allocations: 59.95 kB / 0.5978 GB, free: 7.875 MB / 0.4981 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 (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.0008353/0.1866, allocations: 416 kB / 0.5982 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003696/0.187, allocations: 223.7 kB / 0.5984 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.187, allocations: 0 / 0.5984 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001867/0.1872, allocations: 132.7 kB / 0.5986 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.1874, allocations: 34.31 kB / 0.5986 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008694/0.1883, allocations: 0.59 MB / 0.5992 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.1887, allocations: 0.7704 MB / 0.5999 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003121/0.189, allocations: 138.9 kB / 0.6001 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.237e-05/0.1891, allocations: 47.34 kB / 0.6001 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1891, allocations: 0 / 0.6001 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of Templates: time 0.006688/0.1958, allocations: 3.146 MB / 0.6032 GB, free: 2.539 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: