Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.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.001204/0.001204, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 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.001742/0.001742, allocations: 169.7 kB / 23.27 MB, free: 1.219 MB / 18.57 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 1.158/1.158, allocations: 177.1 MB / 203.7 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.789/0.789, allocations: 154.6 MB / 414.8 MB, free: 0.5547 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.158e-05/2.312e-05, allocations: 6.312 kB / 0.5208 GB, free: 1.867 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001114/0.001137, allocations: 0.6004 MB / 0.5214 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001874/0.001324, allocations: 45.19 kB / 0.5214 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.49e-05/0.001339, allocations: 0 / 0.5214 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.268e-05/0.001352, allocations: 0.5312 kB / 0.5214 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.871e-06/0.001358, allocations: 0.9688 kB / 0.5215 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.001548, allocations: 20.8 kB / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.125e-05/0.001579, allocations: 1.312 kB / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.079e-05/0.00161, allocations: 0 / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.306e-05/0.001633, allocations: 0 / 0.5215 GB, free: 1.223 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.838e-05/0.001651, allocations: 4 kB / 0.5215 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.00166, allocations: 4.5 kB / 0.5215 GB, free: 1.215 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.139e-05/0.001742, allocations: 20.94 kB / 0.5215 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.001752, allocations: 0 / 0.5215 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.046e-05/0.001763, allocations: 7.984 kB / 0.5215 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.544e-05/0.001828, allocations: 17.8 kB / 0.5215 GB, free: 1.172 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.00183, allocations: 0 / 0.5215 GB, free: 1.172 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.001831, allocations: 0 / 0.5215 GB, free: 1.172 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.565e-06/0.001833, allocations: 4 kB / 0.5215 GB, free: 1.168 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001808/0.002014, allocations: 340.4 kB / 0.5219 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.002045, allocations: 9.062 kB / 0.5219 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.002194, allocations: 17.72 kB / 0.5219 GB, free: 0.7734 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.585e-05/0.00224, allocations: 108.6 kB / 0.522 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-06/0.002247, allocations: 1.562 kB / 0.522 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-06/0.002251, allocations: 4.375 kB / 0.522 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.875e-05/0.00233, allocations: 46.95 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-06/0.002335, allocations: 1.625 kB / 0.522 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.002342, allocations: 4.375 kB / 0.522 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.002345, allocations: 384 / 0.522 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.368e-05/0.002359, allocations: 4.719 kB / 0.522 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.226e-05/0.002431, allocations: 93.27 kB / 0.5221 GB, free: 468 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.014e-05/0.002461, allocations: 27.78 kB / 0.5222 GB, free: 428 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.279e-05/0.002474, allocations: 18.55 kB / 0.5222 GB, free: 408 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.002493, allocations: 8.078 kB / 0.5222 GB, free: 400 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.002508, allocations: 33.39 kB / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.002509, allocations: 0 / 0.5222 GB, free: 356 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 8.365e-05/0.002593, allocations: 29.7 kB / 0.5222 GB, free: 320 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.002614, allocations: 55.41 kB / 0.5223 GB, free: 252 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.343e-05/0.002648, allocations: 142.2 kB / 0.5224 GB, free: 96 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 7.755e-06/0.002655, allocations: 26.2 kB / 0.5225 GB, free: 64 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.584e-05/0.002691, allocations: 131.5 kB / 0.5226 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.002715, allocations: 7.922 kB / 0.5226 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.261e-05/0.002738, allocations: 28.17 kB / 0.5226 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.002837, allocations: 496.1 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.045e-05/0.002847, allocations: 0.5 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-06/0.002854, allocations: 1.156 kB / 0.5231 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.00288, allocations: 15.69 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.002882, allocations: 0.5 kB / 0.5231 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.18e-05/0.002924, allocations: 38.72 kB / 0.5231 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.002934, allocations: 4 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.002937, allocations: 1.188 kB / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.002946, allocations: 0 / 0.5231 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.694e-05/0.002993, allocations: 7.938 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.002995, allocations: 0.625 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.288e-05/0.003008, allocations: 1 kB / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.436e-06/0.003012, allocations: 0 / 0.5232 GB, free: 15.32 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 5.369e-05/0.003065, allocations: 164 kB / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.418e-06/0.00307, allocations: 0 / 0.5233 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.961e-05/0.003089, allocations: 10.58 kB / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.00309, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.003092, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.003094, allocations: 0 / 0.5233 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.051e-05/0.003144, allocations: 101.2 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.003145, allocations: 0 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.296e-05/0.003158, allocations: 0 / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.00316, allocations: 2.625 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-06/0.003164, allocations: 4 kB / 0.5234 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.003166, allocations: 3.984 kB / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.003166, allocations: 0 / 0.5234 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.697e-05/0.003233, allocations: 76.33 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-06/0.003237, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.54e-06/0.003242, allocations: 0.6875 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.144e-05/0.003254, allocations: 9.328 kB / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-06/0.003261, allocations: 0 / 0.5235 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-06/0.003262, allocations: 4 kB / 0.5235 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.003287, allocations: 119.2 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.003287, allocations: 0.6875 kB / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001095/0.003396, allocations: 0 / 0.5236 GB, free: 14.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 5.9e-05/0.003455, allocations: 96.25 kB / 0.5237 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 4.565e-05/0.003501, allocations: 14.44 kB / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.003502, allocations: 0 / 0.5237 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-06/0.003512, allocations: 15.67 kB / 0.5238 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.3e-05/0.003595, allocations: 3.938 kB / 0.5238 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001343/0.003729, allocations: 95.88 kB / 0.5238 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.41e-05/0.003753, allocations: 53.95 kB / 0.5239 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.797e-05/0.003771, allocations: 7.984 kB / 0.5239 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.003804, allocations: 66.2 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of SimCode: time 4.51e-07/0.003804, allocations: 1.906 kB / 0.524 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.001331/0.005135, allocations: 273.7 kB / 0.5242 GB, free: 14.12 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6645281040109694]