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.005477/0.005477, allocations: 108.4 kB / 15.74 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.001264/0.001264, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7845/0.7845, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.001371, allocations: 60.34 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.165, allocations: 80.21 MB / 0.6597 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003193/0.1682, allocations: 1.861 MB / 0.6615 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002375/0.1706, allocations: 1.577 MB / 0.663 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.111e-05/0.1708, allocations: 0 / 0.663 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.171, allocations: 31.78 kB / 0.6631 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003253/0.1714, allocations: 75.56 kB / 0.6632 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.1719, allocations: 171.8 kB / 0.6633 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.1722, allocations: 281.4 kB / 0.6636 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1723, allocations: 29.06 kB / 0.6636 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1725, allocations: 91.81 kB / 0.6637 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1727, allocations: 107.7 kB / 0.6638 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.1728, allocations: 20 kB / 0.6638 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.1729, allocations: 83.91 kB / 0.6639 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.173, allocations: 99.73 kB / 0.664 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1732, allocations: 111.3 kB / 0.6641 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003803/0.1735, allocations: 319 kB / 0.6644 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1736, allocations: 0 / 0.6644 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1736, allocations: 0 / 0.6644 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.1736, allocations: 0 / 0.6644 GB, free: 8.621 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.0007752/0.1744, allocations: 0.5539 MB / 0.6649 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.1744, allocations: 8.031 kB / 0.665 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.1745, allocations: 32.56 kB / 0.665 GB, free: 7.98 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1748, allocations: 282.7 kB / 0.6653 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.1749, allocations: 16.16 kB / 0.6653 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1749, allocations: 24.06 kB / 0.6653 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003809/0.1753, allocations: 229 kB / 0.6655 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.1753, allocations: 0 / 0.6655 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.1753, allocations: 4 kB / 0.6655 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1753, allocations: 4 kB / 0.6655 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000877/0.1762, allocations: 0.7527 MB / 0.6663 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/0.1773, allocations: 0.6254 MB / 0.6669 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005099/0.1778, allocations: 305.9 kB / 0.6672 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.178, allocations: 113.4 kB / 0.6673 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1781, allocations: 16.25 kB / 0.6673 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003534/0.1784, allocations: 187.4 kB / 0.6675 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=35): time 1.593e-06/0.1784, allocations: 0 / 0.6675 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=35): time 0.000671/0.1791, allocations: 381.8 kB / 0.6678 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.1792, allocations: 132.5 kB / 0.6679 GB, free: 4.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.1795, allocations: 312.9 kB / 0.6682 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.1795, allocations: 37.7 kB / 0.6683 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.781e-05/0.1796, allocations: 132.6 kB / 0.6684 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.604e-05/0.1797, allocations: 118.2 kB / 0.6685 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.136e-05/0.1798, allocations: 65.69 kB / 0.6686 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1799, allocations: 334.8 kB / 0.6689 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.1801, allocations: 79.95 kB / 0.669 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.1803, allocations: 129.2 kB / 0.6691 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000335/0.1806, allocations: 222.3 kB / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1806, allocations: 0 / 0.6693 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004436/0.1811, allocations: 281 kB / 0.6696 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1811, allocations: 4 kB / 0.6696 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1811, allocations: 0 / 0.6696 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.1811, allocations: 7.938 kB / 0.6696 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.1814, allocations: 67.89 kB / 0.6697 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.1814, allocations: 4 kB / 0.6697 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1815, allocations: 19.84 kB / 0.6697 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/0.1816, allocations: 23.98 kB / 0.6697 GB, free: 2.914 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.0001594/0.1817, allocations: 163.7 kB / 0.6699 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1818, allocations: 31.56 kB / 0.6699 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000657/0.1825, allocations: 380.9 kB / 0.6703 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.1825, allocations: 7.938 kB / 0.6703 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1825, allocations: 0 / 0.6703 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1825, allocations: 3.984 kB / 0.6703 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.1828, allocations: 337.3 kB / 0.6706 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1828, allocations: 0 / 0.6706 GB, free: 1.945 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/0.183, allocations: 63.91 kB / 0.6706 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.183, allocations: 0 / 0.6706 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.183, allocations: 15.98 kB / 0.6707 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1831, allocations: 7.938 kB / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1831, allocations: 0 / 0.6707 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004497/0.1835, allocations: 329.4 kB / 0.671 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.1837, allocations: 144.7 kB / 0.6711 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.37e-05/0.1837, allocations: 4 kB / 0.6711 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.1839, allocations: 27.91 kB / 0.6712 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.528e-05/0.1839, allocations: 27.97 kB / 0.6712 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.184, allocations: 16 kB / 0.6712 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000198/0.1842, allocations: 236.4 kB / 0.6714 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1842, allocations: 0 / 0.6714 GB, free: 1.051 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002989/0.1845, allocations: 67.92 kB / 0.6715 GB, free: 0.9844 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.0008891/0.1854, allocations: 423.2 kB / 0.6719 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003985/0.1858, allocations: 232.1 kB / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1858, allocations: 0 / 0.6721 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.186, allocations: 131.8 kB / 0.6722 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1863, allocations: 40.41 kB / 0.6723 GB, free: 360 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008084/0.1871, allocations: 0.5214 MB / 0.6728 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1874, allocations: 0.7614 MB / 0.6735 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003158/0.1877, allocations: 142.9 kB / 0.6737 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-05/0.1878, allocations: 43.42 kB / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.1878, allocations: 0 / 0.6737 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of Templates: time 0.006875/0.1947, allocations: 3.437 MB / 0.6771 GB, free: 11.48 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)