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.0009312/0.0009312, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6694/0.6694, allocations: 132.2 MB / 422.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 68.92 kB / 0.5018 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 80.2 MB / 0.5801 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00271/0.3468, allocations: 1.855 MB / 0.5819 GB, free: 3.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.3486, allocations: 1.574 MB / 0.5834 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.3487, allocations: 1.219 kB / 0.5834 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001956/0.3489, allocations: 25.3 kB / 0.5835 GB, free: 2.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.3492, allocations: 81.14 kB / 0.5835 GB, free: 2.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.3495, allocations: 170.3 kB / 0.5837 GB, free: 2.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002559/0.3498, allocations: 277.6 kB / 0.584 GB, free: 1.891 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.3499, allocations: 37.64 kB / 0.584 GB, free: 1.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.35, allocations: 93.8 kB / 0.5841 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002201/0.3503, allocations: 109.1 kB / 0.5842 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.3503, allocations: 19.25 kB / 0.5842 GB, free: 1.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001568/0.3505, allocations: 82.94 kB / 0.5843 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.724e-05/0.3506, allocations: 86.27 kB / 0.5844 GB, free: 1.727 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.3507, allocations: 119 kB / 0.5845 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.351, allocations: 309.6 kB / 0.5848 GB, free: 1.523 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.351, allocations: 4.812 kB / 0.5848 GB, free: 1.52 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3511, allocations: 0 / 0.5848 GB, free: 1.52 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.3511, allocations: 0 / 0.5848 GB, free: 1.52 MB / 430.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.0006455/0.3517, allocations: 0.5543 MB / 0.5853 GB, free: 1.031 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.3518, allocations: 10.09 kB / 0.5853 GB, free: 1.031 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3519, allocations: 33.38 kB / 0.5854 GB, free: 1.016 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.3521, allocations: 269.5 kB / 0.5856 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3521, allocations: 15.34 kB / 0.5856 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.3522, allocations: 20.33 kB / 0.5857 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.3525, allocations: 233.1 kB / 0.5859 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3525, allocations: 4 kB / 0.5859 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.371e-05/0.3526, allocations: 5.812 kB / 0.5859 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.3526, allocations: 3.844 kB / 0.5859 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.3535, allocations: 0.748 MB / 0.5866 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.3544, allocations: 0.6317 MB / 0.5873 GB, free: 116 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004535/0.3549, allocations: 302.2 kB / 0.5875 GB, free: 8 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.3551, allocations: 112.5 kB / 0.5876 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.3551, allocations: 21.41 kB / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003799/0.3555, allocations: 188.4 kB / 0.5878 GB, free: 15.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.786e-06/0.3555, allocations: 3.938 kB / 0.5878 GB, free: 15.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006735/0.3562, allocations: 378.5 kB / 0.5882 GB, free: 15.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.095e-05/0.3563, allocations: 133.7 kB / 0.5883 GB, free: 15.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.3566, allocations: 309.7 kB / 0.5886 GB, free: 15.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.3567, allocations: 33.05 kB / 0.5887 GB, free: 15.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.81e-05/0.3568, allocations: 127.9 kB / 0.5888 GB, free: 15.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.993e-05/0.3569, allocations: 114.7 kB / 0.5889 GB, free: 15.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/0.357, allocations: 66.94 kB / 0.589 GB, free: 15.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.3571, allocations: 342.5 kB / 0.5893 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.3572, allocations: 84.73 kB / 0.5894 GB, free: 14.77 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3574, allocations: 127.3 kB / 0.5895 GB, free: 14.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.3578, allocations: 216.8 kB / 0.5897 GB, free: 14.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3578, allocations: 0 / 0.5897 GB, free: 14.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004249/0.3582, allocations: 279.2 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3582, allocations: 5.094 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3582, allocations: 4.703 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.3583, allocations: 5.25 kB / 0.59 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.3585, allocations: 65.45 kB / 0.59 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3585, allocations: 1.031 kB / 0.59 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.3586, allocations: 23.72 kB / 0.5901 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.3587, allocations: 14.7 kB / 0.5901 GB, free: 14.47 MB / 446.1 MB 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.000166/0.3589, allocations: 164.9 kB / 0.5902 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.3589, allocations: 25.62 kB / 0.5903 GB, free: 14.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00068/0.3596, allocations: 394.2 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.3596, allocations: 7.719 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3596, allocations: 0.75 kB / 0.5906 GB, free: 14.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3596, allocations: 5.969 kB / 0.5906 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.36, allocations: 345.7 kB / 0.591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.36, allocations: 0.7031 kB / 0.591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.3602, allocations: 58.33 kB / 0.591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3602, allocations: 5.188 kB / 0.591 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.3602, allocations: 14.59 kB / 0.5911 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.3602, allocations: 5.812 kB / 0.5911 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3602, allocations: 0.75 kB / 0.5911 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.3607, allocations: 317 kB / 0.5914 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.3608, allocations: 148.2 kB / 0.5915 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.3609, allocations: 6.984 kB / 0.5915 GB, free: 13.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3611, allocations: 38.25 kB / 0.5915 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.3611, allocations: 21.45 kB / 0.5916 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.329e-05/0.3612, allocations: 15.69 kB / 0.5916 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002069/0.3614, allocations: 241.4 kB / 0.5918 GB, free: 13.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3614, allocations: 1.375 kB / 0.5918 GB, free: 13.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002921/0.3617, allocations: 69.53 kB / 0.5919 GB, free: 13.41 MB / 446.1 MB 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.0008394/0.3625, allocations: 389.6 kB / 0.5923 GB, free: 13.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.3631, allocations: 306.9 kB / 0.5925 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3631, allocations: 4 kB / 0.5925 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.3633, allocations: 129.8 kB / 0.5927 GB, free: 13.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3636, allocations: 49.11 kB / 0.5927 GB, free: 13.11 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008141/0.3644, allocations: 0.5317 MB / 0.5932 GB, free: 12.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3648, allocations: 0.7601 MB / 0.594 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003264/0.3651, allocations: 145.8 kB / 0.5941 GB, free: 12.08 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.3652, allocations: 42.55 kB / 0.5942 GB, free: 12.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.194e-06/0.3652, allocations: 4 kB / 0.5942 GB, free: 12.07 MB / 446.1 MB Notification: Performance of Templates: time 0.006911/0.3721, allocations: 3.379 MB / 0.5975 GB, free: 10.79 MB / 446.1 MB 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)