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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001222/0.001222, allocations: 200.7 kB / 16.14 MB, free: 6.656 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.379/1.379, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7986/0.7986, allocations: 132.2 MB / 422.1 MB, free: 2.051 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 64.34 kB / 0.5011 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1767/0.1779, allocations: 80.2 MB / 0.5794 GB, free: 9.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003175/0.1811, allocations: 1.917 MB / 0.5813 GB, free: 7.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.1832, allocations: 1.538 MB / 0.5828 GB, free: 5.773 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.1832, allocations: 4 kB / 0.5828 GB, free: 5.77 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.1835, allocations: 19.91 kB / 0.5828 GB, free: 5.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002053/0.1837, allocations: 66.81 kB / 0.5829 GB, free: 5.688 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.1841, allocations: 154.6 kB / 0.583 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.1844, allocations: 257.4 kB / 0.5833 GB, free: 5.285 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.1845, allocations: 33.33 kB / 0.5833 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.1846, allocations: 87.73 kB / 0.5834 GB, free: 5.168 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.1848, allocations: 95.7 kB / 0.5835 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.52e-05/0.1849, allocations: 12 kB / 0.5835 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.185, allocations: 71.97 kB / 0.5836 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001067/0.1851, allocations: 75.8 kB / 0.5836 GB, free: 4.918 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1853, allocations: 111.3 kB / 0.5838 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.1856, allocations: 299.1 kB / 0.584 GB, free: 4.516 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1856, allocations: 7.938 kB / 0.584 GB, free: 4.508 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1856, allocations: 0 / 0.584 GB, free: 4.508 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1856, allocations: 0 / 0.584 GB, free: 4.508 MB / 494.1 MB 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.0007933/0.1864, allocations: 0.5616 MB / 0.5846 GB, free: 3.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.1865, allocations: 8.031 kB / 0.5846 GB, free: 3.891 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.1866, allocations: 32.64 kB / 0.5846 GB, free: 3.859 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.1869, allocations: 274.7 kB / 0.5849 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.1869, allocations: 16.31 kB / 0.5849 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.187, allocations: 20.12 kB / 0.5849 GB, free: 3.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1873, allocations: 236.7 kB / 0.5852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1874, allocations: 0 / 0.5852 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.1874, allocations: 4 kB / 0.5852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1874, allocations: 8 kB / 0.5852 GB, free: 3.254 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008437/0.1883, allocations: 0.7412 MB / 0.5859 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.1893, allocations: 0.6368 MB / 0.5865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004772/0.1898, allocations: 305.9 kB / 0.5868 GB, free: 1.516 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.19, allocations: 109.4 kB / 0.5869 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.544e-05/0.19, allocations: 20.25 kB / 0.5869 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003872/0.1904, allocations: 179.4 kB / 0.5871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 3.437e-06/0.1904, allocations: 3.938 kB / 0.5871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0007064/0.1911, allocations: 381.8 kB / 0.5875 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.1913, allocations: 136.5 kB / 0.5876 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1916, allocations: 305 kB / 0.5879 GB, free: 352 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.1916, allocations: 33.7 kB / 0.5879 GB, free: 312 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.851e-05/0.1917, allocations: 140.6 kB / 0.5881 GB, free: 168 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1919, allocations: 114.4 kB / 0.5882 GB, free: 52 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.629e-05/0.192, allocations: 61.73 kB / 0.5882 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1921, allocations: 342.8 kB / 0.5885 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.1922, allocations: 79.95 kB / 0.5886 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.1924, allocations: 133.1 kB / 0.5888 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003123/0.1927, allocations: 222.2 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1928, allocations: 0 / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004328/0.1932, allocations: 281 kB / 0.5892 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1932, allocations: 10.03 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1932, allocations: 0 / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1932, allocations: 3.938 kB / 0.5892 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.1935, allocations: 63.91 kB / 0.5893 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1935, allocations: 4 kB / 0.5893 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.1936, allocations: 31.67 kB / 0.5893 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.1937, allocations: 8 kB / 0.5893 GB, free: 14.8 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 (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.0001659/0.1938, allocations: 170.4 kB / 0.5895 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/0.1939, allocations: 23.72 kB / 0.5895 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/0.1947, allocations: 388.8 kB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.675e-06/0.1947, allocations: 7.938 kB / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1947, allocations: 0 / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1947, allocations: 0 / 0.5899 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003807/0.1951, allocations: 345.2 kB / 0.5902 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1951, allocations: 4 kB / 0.5902 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.1953, allocations: 59.91 kB / 0.5903 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.1953, allocations: 7.938 kB / 0.5903 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.1953, allocations: 8 kB / 0.5903 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.1953, allocations: 3.938 kB / 0.5903 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1954, allocations: 0 / 0.5903 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005296/0.1959, allocations: 317.7 kB / 0.5906 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1961, allocations: 148.7 kB / 0.5908 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.468e-05/0.1961, allocations: 12 kB / 0.5908 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001775/0.1963, allocations: 31.84 kB / 0.5908 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.839e-05/0.1964, allocations: 27.83 kB / 0.5908 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.229e-05/0.1965, allocations: 11.98 kB / 0.5908 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002472/0.1967, allocations: 240.4 kB / 0.5911 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1967, allocations: 0 / 0.5911 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003246/0.1971, allocations: 67.84 kB / 0.5911 GB, free: 12.86 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 (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.00107/0.1981, allocations: 401.2 kB / 0.5915 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.1985, allocations: 228.3 kB / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1985, allocations: 0 / 0.5917 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001893/0.1987, allocations: 140.2 kB / 0.5919 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.199, allocations: 36.42 kB / 0.5919 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008578/0.1999, allocations: 0.6163 MB / 0.5925 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002965/0.2002, allocations: 0.766 MB / 0.5933 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003106/0.2005, allocations: 146.8 kB / 0.5934 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.307e-05/0.2006, allocations: 43.42 kB / 0.5934 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2006, allocations: 0 / 0.5934 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of Templates: time 0.006975/0.2076, allocations: 3.268 MB / 0.5966 GB, free: 7.43 MB / 0.4981 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)