Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.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.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001271/0.001271, allocations: 191 kB / 17.29 MB, free: 5.516 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7767/0.7767, allocations: 132.2 MB / 423.3 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 59.91 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3525, allocations: 80.19 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.00256/0.3551, allocations: 1.615 MB / 0.5831 GB, free: 26.39 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3565, allocations: 1.155 MB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.617e-05/0.3565, allocations: 2.656 kB / 0.5842 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.3567, allocations: 29.55 kB / 0.5842 GB, free: 25.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002421/0.357, allocations: 65.06 kB / 0.5843 GB, free: 25.41 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.3573, allocations: 140.7 kB / 0.5844 GB, free: 25.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.3575, allocations: 223.3 kB / 0.5846 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.3576, allocations: 23.61 kB / 0.5847 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.3577, allocations: 79.75 kB / 0.5847 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.3579, allocations: 95.48 kB / 0.5848 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.3579, allocations: 17.69 kB / 0.5849 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.358, allocations: 70.39 kB / 0.5849 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.3581, allocations: 83.45 kB / 0.585 GB, free: 25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.075e-05/0.3582, allocations: 94.66 kB / 0.5851 GB, free: 24.93 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002685/0.3585, allocations: 286.7 kB / 0.5854 GB, free: 24.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3585, allocations: 0 / 0.5854 GB, free: 24.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3585, allocations: 0 / 0.5854 GB, free: 24.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.3585, allocations: 2.344 kB / 0.5854 GB, free: 24.74 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006118/0.3591, allocations: 0.5195 MB / 0.5859 GB, free: 24.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.3592, allocations: 9.031 kB / 0.5859 GB, free: 24.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.3593, allocations: 33.25 kB / 0.5859 GB, free: 24.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.3595, allocations: 264.1 kB / 0.5862 GB, free: 23.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3595, allocations: 11.94 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.3596, allocations: 13.84 kB / 0.5862 GB, free: 23.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3599, allocations: 213.7 kB / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3599, allocations: 0.625 kB / 0.5864 GB, free: 23.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.3599, allocations: 11.16 kB / 0.5864 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.36, allocations: 3.531 kB / 0.5864 GB, free: 23.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007729/0.3607, allocations: 0.7373 MB / 0.5871 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007543/0.3615, allocations: 0.562 MB / 0.5877 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.362, allocations: 297.7 kB / 0.588 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001525/0.3621, allocations: 98.69 kB / 0.5881 GB, free: 22.78 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.3622, allocations: 20.78 kB / 0.5881 GB, free: 22.77 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002959/0.3625, allocations: 176.9 kB / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.673e-06/0.3625, allocations: 1.156 kB / 0.5882 GB, free: 22.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006706/0.3632, allocations: 371.7 kB / 0.5886 GB, free: 22.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3632, allocations: 132.2 kB / 0.5887 GB, free: 22.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.3635, allocations: 301.1 kB / 0.589 GB, free: 22.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3635, allocations: 32.7 kB / 0.589 GB, free: 22.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.881e-05/0.3636, allocations: 122 kB / 0.5892 GB, free: 21.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.388e-05/0.3637, allocations: 116.8 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.609e-05/0.3638, allocations: 62.19 kB / 0.5893 GB, free: 21.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.508e-05/0.3639, allocations: 342.3 kB / 0.5897 GB, free: 21.48 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.364, allocations: 80.86 kB / 0.5897 GB, free: 21.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001576/0.3642, allocations: 132.2 kB / 0.5899 GB, free: 21.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3644, allocations: 218.5 kB / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3644, allocations: 0 / 0.5901 GB, free: 21.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000336/0.3648, allocations: 277.1 kB / 0.5903 GB, free: 20.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.3648, allocations: 5.781 kB / 0.5903 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3648, allocations: 0 / 0.5903 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3648, allocations: 0 / 0.5903 GB, free: 20.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.365, allocations: 59.91 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.365, allocations: 4 kB / 0.5904 GB, free: 20.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.3652, allocations: 32.67 kB / 0.5904 GB, free: 20.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.3652, allocations: 13.02 kB / 0.5904 GB, free: 20.75 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 (35): * Single equations (assignments): 35 * 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.0001157/0.3653, allocations: 165.7 kB / 0.5906 GB, free: 20.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.3654, allocations: 28.38 kB / 0.5906 GB, free: 20.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000588/0.366, allocations: 380.6 kB / 0.591 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.366, allocations: 4 kB / 0.591 GB, free: 20.17 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.366, allocations: 5.438 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.366, allocations: 3.984 kB / 0.591 GB, free: 20.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.3662, allocations: 325.2 kB / 0.5913 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3662, allocations: 0 / 0.5913 GB, free: 19.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.3664, allocations: 65.47 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.3664, allocations: 3.938 kB / 0.5914 GB, free: 19.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3664, allocations: 8 kB / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3664, allocations: 0 / 0.5914 GB, free: 19.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.3664, allocations: 9.078 kB / 0.5914 GB, free: 19.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003515/0.3668, allocations: 322 kB / 0.5917 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3669, allocations: 136.7 kB / 0.5918 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.3669, allocations: 8 kB / 0.5918 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.3671, allocations: 19.98 kB / 0.5919 GB, free: 19.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.3671, allocations: 19.97 kB / 0.5919 GB, free: 19.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.3671, allocations: 15.98 kB / 0.5919 GB, free: 19.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001296/0.3673, allocations: 230.5 kB / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3673, allocations: 0 / 0.5921 GB, free: 18.95 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.3676, allocations: 61.08 kB / 0.5922 GB, free: 18.89 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 (34): * Single equations (assignments): 33 * 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.0008686/0.3684, allocations: 412.2 kB / 0.5926 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003657/0.3688, allocations: 234.1 kB / 0.5928 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3688, allocations: 0 / 0.5928 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.369, allocations: 135.8 kB / 0.5929 GB, free: 18.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.3692, allocations: 32.53 kB / 0.5929 GB, free: 18.27 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006866/0.3699, allocations: 0.4951 MB / 0.5934 GB, free: 17.75 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.3701, allocations: 0.7586 MB / 0.5942 GB, free: 16.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002732/0.3704, allocations: 143.1 kB / 0.5943 GB, free: 16.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.3705, allocations: 39.42 kB / 0.5943 GB, free: 16.81 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3705, allocations: 0 / 0.5943 GB, free: 16.81 MB / 446.1 MB Notification: Performance of Templates: time 0.005386/0.3759, allocations: 2.964 MB / 0.5972 GB, free: 13.92 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)