Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001596/0.001596, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.00183/0.00183, allocations: 169 kB / 24.06 MB, free: 452 kB / 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.065/1.065, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.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-535:34: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-535:42: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.8023/0.8023, allocations: 154.9 MB / 415.9 MB, free: 228 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5219 GB, free: 1.418 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.705e-05/1.907e-05, allocations: 6.25 kB / 0.522 GB, free: 1.41 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegStep): time 0.001021/0.00104, allocations: 0.5887 MB / 0.5225 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001836/0.001224, allocations: 45.16 kB / 0.5226 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.701e-05/0.001241, allocations: 0.9688 kB / 0.5226 GB, free: 0.8008 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.614e-05/0.001257, allocations: 4 kB / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.001263, allocations: 0 / 0.5226 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.001458, allocations: 18.42 kB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.497e-05/0.001493, allocations: 0 / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.001532, allocations: 4 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.958e-05/0.001551, allocations: 0.9375 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.985e-05/0.001571, allocations: 0.6562 kB / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 9.819e-06/0.001581, allocations: 0 / 0.5226 GB, free: 0.7773 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.126e-05/0.001662, allocations: 25.38 kB / 0.5226 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.001673, allocations: 0 / 0.5226 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 8.686e-06/0.001681, allocations: 0.7656 kB / 0.5226 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 6.855e-05/0.00175, allocations: 23.91 kB / 0.5226 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704e-06/0.001751, allocations: 1.156 kB / 0.5226 GB, free: 0.7305 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.001753, allocations: 3.984 kB / 0.5227 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.796e-06/0.001756, allocations: 3.938 kB / 0.5227 GB, free: 0.7227 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.0001967/0.001953, allocations: 337.1 kB / 0.523 GB, free: 364 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.001981, allocations: 9.312 kB / 0.523 GB, free: 356 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.002144, allocations: 20.84 kB / 0.523 GB, free: 336 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.029e-05/0.002204, allocations: 108.6 kB / 0.5231 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.002214, allocations: 1.562 kB / 0.5231 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.002219, allocations: 384 / 0.5231 GB, free: 200 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.477e-05/0.002314, allocations: 47.55 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.002321, allocations: 192 / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-06/0.002326, allocations: 2.25 kB / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.002332, allocations: 384 / 0.5232 GB, free: 144 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.003e-05/0.002352, allocations: 3.938 kB / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.122e-05/0.002433, allocations: 97.27 kB / 0.5233 GB, free: 16 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.942e-05/0.002483, allocations: 28.66 kB / 0.5233 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.458e-05/0.002497, allocations: 15.77 kB / 0.5233 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.00251, allocations: 3.984 kB / 0.5233 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.00253, allocations: 33.39 kB / 0.5233 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.002531, allocations: 1.469 kB / 0.5233 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001027/0.002633, allocations: 33.7 kB / 0.5234 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.002661, allocations: 56.31 kB / 0.5234 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.941e-05/0.002701, allocations: 142.2 kB / 0.5236 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.002709, allocations: 25.7 kB / 0.5236 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.437e-05/0.002744, allocations: 127.8 kB / 0.5237 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.002771, allocations: 3.938 kB / 0.5237 GB, free: 15.49 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.858e-05/0.002799, allocations: 32.78 kB / 0.5237 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.002922, allocations: 496.1 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.758e-06/0.002932, allocations: 0 / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/0.002939, allocations: 4 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.958e-05/0.002969, allocations: 9.219 kB / 0.5242 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.00297, allocations: 0 / 0.5242 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.675e-05/0.003017, allocations: 42.81 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.003029, allocations: 6.344 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.003032, allocations: 0 / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.673e-06/0.003039, allocations: 1.781 kB / 0.5243 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.391e-05/0.003083, allocations: 4 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-06/0.003085, allocations: 3.938 kB / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.296e-05/0.003098, allocations: 0 / 0.5243 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.003101, allocations: 1.812 kB / 0.5243 GB, free: 14.88 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.637e-05/0.003158, allocations: 160.5 kB / 0.5244 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.893e-06/0.003165, allocations: 8.328 kB / 0.5244 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.674e-05/0.003181, allocations: 3 kB / 0.5244 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.003183, allocations: 2.125 kB / 0.5244 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.003184, allocations: 0 / 0.5244 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.003186, allocations: 0 / 0.5244 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.167e-05/0.003237, allocations: 101.2 kB / 0.5245 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-07/0.003238, allocations: 0 / 0.5245 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.003251, allocations: 4 kB / 0.5245 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003252, allocations: 1.031 kB / 0.5245 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.003261, allocations: 3.984 kB / 0.5246 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.9e-07/0.003261, allocations: 0 / 0.5246 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003262, allocations: 0.9375 kB / 0.5246 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.606e-05/0.003318, allocations: 79.53 kB / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.395e-06/0.00332, allocations: 0 / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.304e-06/0.003327, allocations: 3.984 kB / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.064e-05/0.003338, allocations: 4 kB / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.835e-06/0.003346, allocations: 0 / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-06/0.003347, allocations: 0 / 0.5246 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.753e-05/0.003375, allocations: 119.2 kB / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.003375, allocations: 0 / 0.5248 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001092/0.003484, allocations: 0 / 0.5248 GB, free: 14.34 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 6.109e-05/0.003545, allocations: 98.06 kB / 0.5248 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.152e-05/0.003597, allocations: 11.69 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.12e-07/0.003597, allocations: 4 kB / 0.5249 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.003607, allocations: 15.61 kB / 0.5249 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.646e-05/0.003694, allocations: 11.75 kB / 0.5249 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000126/0.003819, allocations: 79.98 kB / 0.525 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.495e-05/0.003844, allocations: 59.34 kB / 0.525 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.88e-05/0.003863, allocations: 1.938 kB / 0.525 GB, free: 14 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.298e-05/0.003896, allocations: 67.05 kB / 0.5251 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of SimCode: time 3.3e-07/0.003897, allocations: 0 / 0.5251 GB, free: 13.94 MB / 0.4948 GB Notification: Performance of Templates: time 0.001371/0.005268, allocations: 287.8 kB / 0.5254 GB, free: 13.67 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8550826590508223]