Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.00184/0.00184, allocations: 92.7 kB / 19.44 MB, free: 324 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.002764/0.002764, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.496/1.496, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 1.226/1.226, allocations: 154.8 MB / 414.4 MB, free: 440 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 178] 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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.174e-06/2.174e-06, allocations: 0 / 0.5199 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3e-05/3.217e-05, allocations: 6.969 kB / 0.5199 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002374/0.002406, allocations: 0.5819 MB / 0.5205 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.003426, allocations: 297.9 kB / 0.5208 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.844e-05/0.003444, allocations: 0 / 0.5208 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.449e-05/0.003469, allocations: 0 / 0.5208 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.454e-06/0.003476, allocations: 0 / 0.5208 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006399/0.004116, allocations: 112.7 kB / 0.5209 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 4.183e-05/0.004158, allocations: 4.438 kB / 0.5209 GB, free: 1.281 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.004202, allocations: 9.016 kB / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.819e-05/0.00423, allocations: 0 / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.875e-05/0.004259, allocations: 0 / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.004271, allocations: 1 kB / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006907/0.004962, allocations: 259.6 kB / 0.5211 GB, free: 1.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.57e-05/0.004977, allocations: 3.984 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.155e-05/0.004999, allocations: 0.625 kB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003078/0.005307, allocations: 112.3 kB / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.005309, allocations: 0 / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.00531, allocations: 1.375 kB / 0.5213 GB, free: 0.9062 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.527e-06/0.005313, allocations: 0 / 0.5213 GB, free: 0.9062 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.0004572/0.005771, allocations: 266.2 kB / 0.5215 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.005817, allocations: 8.031 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.861e-05/0.005916, allocations: 2.75 kB / 0.5215 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.006049, allocations: 105.8 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.006062, allocations: 384 / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.006069, allocations: 384 / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001074/0.006176, allocations: 39.91 kB / 0.5217 GB, free: 444 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.006191, allocations: 4.188 kB / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.006201, allocations: 384 / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.006207, allocations: 384 / 0.5217 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.006232, allocations: 3.938 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001916/0.006423, allocations: 102 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.818e-05/0.006482, allocations: 14.58 kB / 0.5218 GB, free: 280 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.247e-05/0.006504, allocations: 6.266 kB / 0.5218 GB, free: 272 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000483/0.006987, allocations: 45.39 kB / 0.5218 GB, free: 228 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.635e-05/0.007043, allocations: 42.5 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.007045, allocations: 1.625 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002131/0.007258, allocations: 29.7 kB / 0.5219 GB, free: 140 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.007314, allocations: 51.41 kB / 0.5219 GB, free: 76 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.007416, allocations: 96.14 kB / 0.522 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.007439, allocations: 25.7 kB / 0.5221 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.875e-05/0.007498, allocations: 80.14 kB / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.007523, allocations: 0 / 0.5221 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.007571, allocations: 13.7 kB / 0.5222 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.007797, allocations: 322.8 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.354e-05/0.00781, allocations: 0.5625 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.576e-06/0.007819, allocations: 0.5625 kB / 0.5225 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.835e-05/0.007857, allocations: 13.7 kB / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.007859, allocations: 0 / 0.5225 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001119/0.007971, allocations: 34.23 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.007987, allocations: 5.438 kB / 0.5225 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.007996, allocations: 3.984 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.008015, allocations: 0 / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.884e-05/0.008064, allocations: 4 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.008069, allocations: 0.9375 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.008088, allocations: 3.938 kB / 0.5225 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-06/0.008093, allocations: 0 / 0.5225 GB, free: 15.45 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 0.0001142/0.008207, allocations: 113.1 kB / 0.5226 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.008237, allocations: 4 kB / 0.5226 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.008351, allocations: 44.58 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008352, allocations: 0 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.008356, allocations: 0 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008359, allocations: 0 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001231/0.008482, allocations: 101.3 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/0.008483, allocations: 3.031 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.821e-05/0.008502, allocations: 7.938 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.008509, allocations: 4 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.008519, allocations: 4 kB / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.00852, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008521, allocations: 0 / 0.5228 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001405/0.008661, allocations: 68.98 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.98e-06/0.008666, allocations: 1.5 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.008678, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.189e-05/0.00869, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.967e-05/0.00871, allocations: 4 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.008713, allocations: 0.5 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.677e-05/0.008769, allocations: 75.28 kB / 0.5229 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/0.00877, allocations: 2.531 kB / 0.5229 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003662/0.009136, allocations: 15.92 kB / 0.523 GB, free: 14.95 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 0.0002409/0.009377, allocations: 115.2 kB / 0.5231 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.223e-05/0.009449, allocations: 4 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009451, allocations: 2.438 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.702e-05/0.009468, allocations: 7.938 kB / 0.5231 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.009677, allocations: 6.391 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002733/0.009951, allocations: 89.03 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.723e-05/0.01003, allocations: 55.36 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.01005, allocations: 1.719 kB / 0.5232 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.01008, allocations: 8.5 kB / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of SimCode: time 4.41e-07/0.01008, allocations: 0 / 0.5232 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.004027/0.0141, allocations: 489.9 kB / 0.5237 GB, free: 14.15 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.758575242012739]