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.009185/0.009186, allocations: 102 kB / 15.73 MB, free: 6.035 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.001538/0.001538, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.862/0.862, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.00117, allocations: 59.25 kB / 0.5814 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.004041/0.1813, allocations: 1.859 MB / 0.6615 GB, free: 8.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003081/0.1844, allocations: 1.573 MB / 0.663 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1845, allocations: 0 / 0.663 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003849/0.1849, allocations: 31.78 kB / 0.6631 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004202/0.1854, allocations: 75.55 kB / 0.6631 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.186, allocations: 172.4 kB / 0.6633 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1864, allocations: 273.4 kB / 0.6636 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.1865, allocations: 37.03 kB / 0.6636 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.1867, allocations: 95.75 kB / 0.6637 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002774/0.1869, allocations: 103.7 kB / 0.6638 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.21e-05/0.187, allocations: 20 kB / 0.6638 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.1872, allocations: 83.97 kB / 0.6639 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.1873, allocations: 91.72 kB / 0.664 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.1874, allocations: 123.3 kB / 0.6641 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.1879, allocations: 319 kB / 0.6644 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1879, allocations: 3.938 kB / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.943e-06/0.1879, allocations: 0 / 0.6644 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.1879, allocations: 0 / 0.6644 GB, free: 5.512 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.0009145/0.1888, allocations: 0.5461 MB / 0.6649 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.1889, allocations: 15.97 kB / 0.665 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.1891, allocations: 36.55 kB / 0.665 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.1895, allocations: 274.7 kB / 0.6653 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1895, allocations: 20.09 kB / 0.6653 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.1895, allocations: 20.12 kB / 0.6653 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.19, allocations: 224.9 kB / 0.6655 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.19, allocations: 3.984 kB / 0.6655 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.099e-05/0.1901, allocations: 12 kB / 0.6655 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1901, allocations: 4 kB / 0.6655 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009752/0.1911, allocations: 0.7488 MB / 0.6663 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.1922, allocations: 0.6137 MB / 0.6669 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004933/0.1927, allocations: 313.9 kB / 0.6672 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/0.1929, allocations: 109.4 kB / 0.6673 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.682e-05/0.1929, allocations: 24.25 kB / 0.6673 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003848/0.1933, allocations: 188 kB / 0.6675 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.874e-06/0.1933, allocations: 0 / 0.6675 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.0007049/0.1941, allocations: 377.3 kB / 0.6678 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.435e-05/0.1941, allocations: 132.5 kB / 0.6679 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003289/0.1945, allocations: 309 kB / 0.6682 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.1945, allocations: 33.7 kB / 0.6683 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.025e-05/0.1946, allocations: 140.6 kB / 0.6684 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.1947, allocations: 114.3 kB / 0.6685 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.549e-05/0.1948, allocations: 69.67 kB / 0.6686 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.195, allocations: 338.8 kB / 0.6689 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1951, allocations: 79.95 kB / 0.669 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.1953, allocations: 135.3 kB / 0.6691 GB, free: 432 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.1957, allocations: 214.3 kB / 0.6693 GB, free: 216 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1957, allocations: 0 / 0.6693 GB, free: 216 kB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004349/0.1961, allocations: 285 kB / 0.6696 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1962, allocations: 4 kB / 0.6696 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.1962, allocations: 0 / 0.6696 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.1962, allocations: 3.938 kB / 0.6696 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1964, allocations: 63.91 kB / 0.6697 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1964, allocations: 0 / 0.6697 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.1966, allocations: 27.83 kB / 0.6697 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.1966, allocations: 11.94 kB / 0.6697 GB, free: 15.82 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.0001687/0.1968, allocations: 171.9 kB / 0.6699 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.1969, allocations: 31.62 kB / 0.6699 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.1975, allocations: 384.8 kB / 0.6703 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1976, allocations: 7.938 kB / 0.6703 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.1976, allocations: 0 / 0.6703 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1976, allocations: 0 / 0.6703 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.1979, allocations: 341.3 kB / 0.6706 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1979, allocations: 0 / 0.6706 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.1981, allocations: 63.91 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1981, allocations: 3.938 kB / 0.6707 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.1982, allocations: 11.98 kB / 0.6707 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1982, allocations: 7.938 kB / 0.6707 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1982, allocations: 0 / 0.6707 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004928/0.1987, allocations: 325.5 kB / 0.671 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1988, allocations: 144.7 kB / 0.6711 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.1989, allocations: 11.98 kB / 0.6711 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.1991, allocations: 23.92 kB / 0.6712 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.1992, allocations: 23.97 kB / 0.6712 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.1992, allocations: 19.98 kB / 0.6712 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002158/0.1994, allocations: 236.4 kB / 0.6714 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1994, allocations: 0 / 0.6714 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000314/0.1997, allocations: 67.94 kB / 0.6715 GB, free: 13.88 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.0009511/0.2007, allocations: 407 kB / 0.6719 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004105/0.2011, allocations: 236.1 kB / 0.6721 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2011, allocations: 3.938 kB / 0.6721 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.2013, allocations: 135.8 kB / 0.6722 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2016, allocations: 42.11 kB / 0.6723 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008539/0.2025, allocations: 0.5252 MB / 0.6728 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.2028, allocations: 0.7619 MB / 0.6735 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003279/0.2032, allocations: 146.9 kB / 0.6737 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.2033, allocations: 43.42 kB / 0.6737 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2033, allocations: 0 / 0.6737 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of Templates: time 0.007079/0.2104, allocations: 3.445 MB / 0.6771 GB, free: 8.328 MB / 0.5137 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)