Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001548/0.001548, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001729/0.001729, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7723/0.7723, allocations: 135.1 MB / 426.3 MB, free: 4.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.89 kB / 0.5068 GB, free: 7.715 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4126, allocations: 80.92 MB / 0.5858 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002515/0.4151, allocations: 1.629 MB / 0.5874 GB, free: 24.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.4164, allocations: 1.156 MB / 0.5885 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.4165, allocations: 2.75 kB / 0.5885 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001944/0.4167, allocations: 26.56 kB / 0.5885 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002329/0.4169, allocations: 58.2 kB / 0.5886 GB, free: 23.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.4172, allocations: 133.4 kB / 0.5887 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.4175, allocations: 232 kB / 0.5889 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4176, allocations: 23.23 kB / 0.5889 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.861e-05/0.4176, allocations: 72.52 kB / 0.589 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.4178, allocations: 96.14 kB / 0.5891 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.4179, allocations: 16.59 kB / 0.5891 GB, free: 23.28 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.418, allocations: 71.98 kB / 0.5892 GB, free: 23.21 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.418, allocations: 80.98 kB / 0.5893 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.4181, allocations: 103.3 kB / 0.5894 GB, free: 23.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002309/0.4184, allocations: 276.9 kB / 0.5896 GB, free: 22.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4184, allocations: 4.625 kB / 0.5896 GB, free: 22.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4184, allocations: 0.9062 kB / 0.5896 GB, free: 22.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4184, allocations: 0 / 0.5896 GB, free: 22.75 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.000576/0.419, allocations: 0.5318 MB / 0.5902 GB, free: 22.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.419, allocations: 9.109 kB / 0.5902 GB, free: 22.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.4191, allocations: 24.66 kB / 0.5902 GB, free: 22.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.4193, allocations: 260.5 kB / 0.5904 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.4193, allocations: 12.94 kB / 0.5905 GB, free: 21.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.163e-05/0.4193, allocations: 12.38 kB / 0.5905 GB, free: 21.83 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.4196, allocations: 215.2 kB / 0.5907 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4196, allocations: 1.438 kB / 0.5907 GB, free: 21.6 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.893e-05/0.4197, allocations: 8 kB / 0.5907 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.4197, allocations: 4 kB / 0.5907 GB, free: 21.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006322/0.4203, allocations: 0.7411 MB / 0.5914 GB, free: 20.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.421, allocations: 0.5604 MB / 0.592 GB, free: 20.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.4213, allocations: 294.2 kB / 0.5922 GB, free: 19.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.4215, allocations: 101.9 kB / 0.5923 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.4215, allocations: 28.86 kB / 0.5924 GB, free: 19.81 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4218, allocations: 178.3 kB / 0.5925 GB, free: 19.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.953e-06/0.4218, allocations: 0 / 0.5925 GB, free: 19.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.000522/0.4223, allocations: 367.4 kB / 0.5929 GB, free: 19.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4224, allocations: 133.4 kB / 0.593 GB, free: 19.11 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.4226, allocations: 296.1 kB / 0.5933 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.4226, allocations: 35.52 kB / 0.5933 GB, free: 18.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.4226, allocations: 128.7 kB / 0.5934 GB, free: 18.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.4227, allocations: 98.47 kB / 0.5935 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.157e-05/0.4228, allocations: 65.69 kB / 0.5936 GB, free: 18.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.4228, allocations: 343.8 kB / 0.5939 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4229, allocations: 79.95 kB / 0.594 GB, free: 18.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.4231, allocations: 128.6 kB / 0.5941 GB, free: 17.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.4234, allocations: 219.5 kB / 0.5943 GB, free: 17.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4234, allocations: 0 / 0.5943 GB, free: 17.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003435/0.4237, allocations: 273.1 kB / 0.5946 GB, free: 17.42 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4237, allocations: 8 kB / 0.5946 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.4237, allocations: 0 / 0.5946 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.4238, allocations: 3.984 kB / 0.5946 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.424, allocations: 64.69 kB / 0.5947 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.424, allocations: 4 kB / 0.5947 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.4241, allocations: 29.02 kB / 0.5947 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.4242, allocations: 19.94 kB / 0.5947 GB, free: 17.29 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.0001037/0.4243, allocations: 167.5 kB / 0.5949 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4243, allocations: 23.72 kB / 0.5949 GB, free: 17.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.4249, allocations: 380.2 kB / 0.5953 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.4249, allocations: 7.984 kB / 0.5953 GB, free: 16.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4249, allocations: 5.453 kB / 0.5953 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4249, allocations: 0 / 0.5953 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4251, allocations: 329.2 kB / 0.5956 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4251, allocations: 0 / 0.5956 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.4253, allocations: 59.28 kB / 0.5956 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.4253, allocations: 4 kB / 0.5957 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.4253, allocations: 15.98 kB / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.4253, allocations: 0 / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4253, allocations: 0 / 0.5957 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003541/0.4257, allocations: 317.7 kB / 0.596 GB, free: 15.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-05/0.4258, allocations: 137.2 kB / 0.5961 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.4258, allocations: 11.98 kB / 0.5961 GB, free: 15.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001227/0.426, allocations: 13.05 kB / 0.5961 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.426, allocations: 27.97 kB / 0.5962 GB, free: 15.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.426, allocations: 9.344 kB / 0.5962 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.4262, allocations: 233.6 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4262, allocations: 4 kB / 0.5964 GB, free: 15.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.4264, allocations: 58.22 kB / 0.5964 GB, free: 15.45 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.0008001/0.4273, allocations: 420.5 kB / 0.5968 GB, free: 15.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000319/0.4276, allocations: 235 kB / 0.5971 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4276, allocations: 0 / 0.5971 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.4277, allocations: 135.8 kB / 0.5972 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.428, allocations: 32.66 kB / 0.5972 GB, free: 14.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006034/0.4286, allocations: 497.5 kB / 0.5977 GB, free: 14.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.4288, allocations: 0.7612 MB / 0.5984 GB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002661/0.429, allocations: 144.9 kB / 0.5986 GB, free: 13.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.79e-05/0.4291, allocations: 39.42 kB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4291, allocations: 1 kB / 0.5986 GB, free: 13.36 MB / 446.1 MB Notification: Performance of Templates: time 0.005186/0.4343, allocations: 2.949 MB / 0.6015 GB, free: 10.47 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1)