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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006636/0.0006636, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006879/0.0006879, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.881/0.881, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7357/0.7357, allocations: 203.8 MB / 0.5049 GB, free: 10.46 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009046/0.0009046, allocations: 65.44 kB / 0.7194 GB, free: 3.535 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.42, allocations: 102 MB / 0.819 GB, free: 1.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin): time 0.002045/0.4221, allocations: 1.659 MB / 0.8207 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.4235, allocations: 1.358 MB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.982e-05/0.4235, allocations: 3.938 kB / 0.822 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.4237, allocations: 29.34 kB / 0.822 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003293/0.4241, allocations: 107.1 kB / 0.8221 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.4243, allocations: 143.1 kB / 0.8222 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.4246, allocations: 245.4 kB / 0.8225 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.4247, allocations: 16.91 kB / 0.8225 GB, free: 15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.344e-05/0.4248, allocations: 87.11 kB / 0.8226 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001456/0.4249, allocations: 89.73 kB / 0.8227 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.4249, allocations: 17.12 kB / 0.8227 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.4251, allocations: 113.2 kB / 0.8228 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.35e-05/0.4252, allocations: 88.16 kB / 0.8229 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.498e-05/0.4253, allocations: 84.88 kB / 0.823 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.4256, allocations: 335 kB / 0.8233 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.4256, allocations: 1.406 kB / 0.8233 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4256, allocations: 0 / 0.8233 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.4256, allocations: 0 / 0.8233 GB, free: 14.67 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0006098/0.4262, allocations: 0.4888 MB / 0.8238 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.4262, allocations: 9.797 kB / 0.8238 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.391e-05/0.4263, allocations: 30.16 kB / 0.8238 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.4265, allocations: 214.6 kB / 0.824 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4265, allocations: 11.47 kB / 0.824 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.4266, allocations: 14.06 kB / 0.824 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003/0.4269, allocations: 296 kB / 0.8243 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.4269, allocations: 0 / 0.8243 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.4269, allocations: 7.234 kB / 0.8243 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4269, allocations: 4.344 kB / 0.8243 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000638/0.4275, allocations: 0.6942 MB / 0.825 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006047/0.4281, allocations: 493.4 kB / 0.8255 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/0.4285, allocations: 277.2 kB / 0.8257 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.4286, allocations: 92.53 kB / 0.8258 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.777e-05/0.4286, allocations: 17.69 kB / 0.8258 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002851/0.4289, allocations: 182.2 kB / 0.826 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.4289, allocations: 0 / 0.826 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=34): time 0.0005137/0.4294, allocations: 372.2 kB / 0.8264 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.4295, allocations: 133.9 kB / 0.8265 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.4297, allocations: 319.4 kB / 0.8268 GB, free: 12.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.253e-05/0.4298, allocations: 32.11 kB / 0.8268 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.598e-05/0.4298, allocations: 131.9 kB / 0.827 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.329e-05/0.4299, allocations: 114.5 kB / 0.8271 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.43, allocations: 65.34 kB / 0.8271 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.397e-05/0.4301, allocations: 343.7 kB / 0.8274 GB, free: 12.11 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.4302, allocations: 83.53 kB / 0.8275 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.4303, allocations: 199.2 kB / 0.8277 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002486/0.4306, allocations: 216.7 kB / 0.8279 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.4306, allocations: 0 / 0.8279 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003837/0.431, allocations: 285.7 kB / 0.8282 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.431, allocations: 5.156 kB / 0.8282 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.431, allocations: 4.703 kB / 0.8282 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.431, allocations: 1.25 kB / 0.8282 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.4312, allocations: 64.39 kB / 0.8283 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.4312, allocations: 1.375 kB / 0.8283 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4313, allocations: 29.88 kB / 0.8283 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.308e-05/0.4313, allocations: 14.2 kB / 0.8283 GB, free: 11.7 MB / 0.6198 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 (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.0001469/0.4315, allocations: 163 kB / 0.8285 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.4315, allocations: 29.42 kB / 0.8285 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004852/0.432, allocations: 378.3 kB / 0.8289 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.432, allocations: 7.859 kB / 0.8289 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.432, allocations: 3.984 kB / 0.8289 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.432, allocations: 1.922 kB / 0.8289 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.4322, allocations: 248.7 kB / 0.8291 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4322, allocations: 0.5625 kB / 0.8291 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.4324, allocations: 56.84 kB / 0.8292 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4324, allocations: 1.25 kB / 0.8292 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.4324, allocations: 10.95 kB / 0.8292 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.4324, allocations: 1.25 kB / 0.8292 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4324, allocations: 1.125 kB / 0.8292 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.4327, allocations: 325.5 kB / 0.8295 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.4328, allocations: 77.92 kB / 0.8296 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.4329, allocations: 11.28 kB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.433, allocations: 13.97 kB / 0.8296 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.433, allocations: 25.98 kB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.811e-05/0.433, allocations: 19.28 kB / 0.8296 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002066/0.4333, allocations: 237.9 kB / 0.8299 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.4333, allocations: 4.438 kB / 0.8299 GB, free: 10.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002874/0.4335, allocations: 75.33 kB / 0.8299 GB, free: 10.81 MB / 0.6198 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 (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.0008098/0.4343, allocations: 480.5 kB / 0.8304 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.4347, allocations: 224.3 kB / 0.8306 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4347, allocations: 0 / 0.8306 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.4348, allocations: 113.9 kB / 0.8307 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.435, allocations: 41.09 kB / 0.8308 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006798/0.4357, allocations: 0.551 MB / 0.8313 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001127/0.4358, allocations: 147.5 kB / 0.8314 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.804e-05/0.4359, allocations: 53.89 kB / 0.8315 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.4359, allocations: 4 kB / 0.8315 GB, free: 10.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.006066/0.442, allocations: 4.663 MB / 0.836 GB, free: 9.02 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.makefile [Timeout 660] (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 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.LimitMin.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.725055990274996] Failed to read output from testmodel.py, exit status != 0: 0.44722509616985917 0.455922722 0.028606519 Calling exit ...