Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.00131/0.00131, allocations: 80.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001457/0.001457, allocations: 166.8 kB / 22.46 MB, free: 5.359 MB / 14.72 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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-531:686: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-531:694: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 1.213/1.213, allocations: 154.6 MB / 413.8 MB, free: 5.219 MB / 382.1 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 178] 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 3.938 kB / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.506e-05/2.66e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002746/0.002773, allocations: 1.451 MB / 0.62 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007638/0.003537, allocations: 358.8 kB / 0.6204 GB, free: 2.766 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.776e-05/0.003575, allocations: 4 kB / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.003597, allocations: 0 / 0.6204 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.843e-05/0.003646, allocations: 3.938 kB / 0.6204 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.00415, allocations: 123.5 kB / 0.6205 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 8.148e-05/0.004231, allocations: 19.94 kB / 0.6205 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.004327, allocations: 15.92 kB / 0.6205 GB, free: 2.602 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.525e-05/0.004383, allocations: 8 kB / 0.6205 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.598e-05/0.004419, allocations: 7.984 kB / 0.6205 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.004433, allocations: 4 kB / 0.6205 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004098/0.004843, allocations: 263.6 kB / 0.6208 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.004873, allocations: 7.938 kB / 0.6208 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.076e-05/0.004894, allocations: 4 kB / 0.6208 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.00517, allocations: 135.6 kB / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005174, allocations: 0 / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.005175, allocations: 0 / 0.6209 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.005181, allocations: 3.938 kB / 0.6209 GB, free: 2.176 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005406/0.005721, allocations: 286 kB / 0.6212 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.005759, allocations: 16.03 kB / 0.6212 GB, free: 1.848 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.005823, allocations: 12.92 kB / 0.6212 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.005936, allocations: 113.7 kB / 0.6213 GB, free: 1.699 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.005949, allocations: 4.312 kB / 0.6213 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.005961, allocations: 4.375 kB / 0.6213 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.006153, allocations: 50.23 kB / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.006162, allocations: 192 / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.006171, allocations: 384 / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.006179, allocations: 384 / 0.6214 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.00638, allocations: 39.91 kB / 0.6214 GB, free: 1.598 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.006716, allocations: 196.6 kB / 0.6216 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.006863, allocations: 38.5 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.553e-05/0.006958, allocations: 28.89 kB / 0.6217 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/0.007493, allocations: 71.92 kB / 0.6218 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.007528, allocations: 38.56 kB / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.00753, allocations: 0 / 0.6218 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004264/0.007956, allocations: 89.52 kB / 0.6219 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.008, allocations: 51.53 kB / 0.6219 GB, free: 1.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008104, allocations: 109.8 kB / 0.622 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.008122, allocations: 25.7 kB / 0.6221 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.008176, allocations: 80.14 kB / 0.6221 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.008196, allocations: 7.953 kB / 0.6221 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.008233, allocations: 13.72 kB / 0.6221 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.008384, allocations: 318.8 kB / 0.6225 GB, free: 456 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.008487, allocations: 15.98 kB / 0.6225 GB, free: 440 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.008567, allocations: 11.98 kB / 0.6225 GB, free: 428 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.008733, allocations: 48.88 kB / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.008735, allocations: 0 / 0.6225 GB, free: 376 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002442/0.008979, allocations: 65.61 kB / 0.6226 GB, free: 304 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.008994, allocations: 11.94 kB / 0.6226 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.009001, allocations: 3.938 kB / 0.6226 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.009018, allocations: 3.984 kB / 0.6226 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.00911, allocations: 12.03 kB / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.009115, allocations: 0 / 0.6226 GB, free: 272 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.584e-05/0.009171, allocations: 11.94 kB / 0.6226 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.009177, allocations: 0 / 0.6226 GB, free: 260 kB / 0.5294 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 (2): * Single equations (assignments): 2 * 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 9.391e-05/0.009271, allocations: 111.7 kB / 0.6227 GB, free: 140 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.009317, allocations: 4 kB / 0.6227 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.00957, allocations: 73.22 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.009575, allocations: 4.016 kB / 0.6228 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.009579, allocations: 4.25 kB / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.009581, allocations: 0 / 0.6228 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.009749, allocations: 105.3 kB / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.00975, allocations: 0 / 0.6229 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.009814, allocations: 15.92 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.009819, allocations: 7.922 kB / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.009825, allocations: 0 / 0.6229 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.832e-06/0.009832, allocations: 3.938 kB / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.009834, allocations: 0 / 0.6229 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.01014, allocations: 167.5 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.01014, allocations: 3.953 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.656e-05/0.01016, allocations: 3.984 kB / 0.6231 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.581e-05/0.01024, allocations: 7.938 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.966e-05/0.01028, allocations: 7.984 kB / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.01028, allocations: 0 / 0.6231 GB, free: 15.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.039e-05/0.01033, allocations: 83.28 kB / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01033, allocations: 0 / 0.6232 GB, free: 15.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000247/0.01058, allocations: 15.94 kB / 0.6232 GB, free: 15.58 MB / 0.545 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 (2): * Single equations (assignments): 2 * 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.0002046/0.01078, allocations: 115.2 kB / 0.6233 GB, free: 15.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002246/0.01101, allocations: 43.91 kB / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01101, allocations: 0 / 0.6234 GB, free: 15.42 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.041e-05/0.0111, allocations: 19.97 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.01139, allocations: 7.062 kB / 0.6234 GB, free: 15.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003471/0.01174, allocations: 116.9 kB / 0.6235 GB, free: 15.25 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.132e-05/0.0118, allocations: 63.3 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.45e-05/0.01182, allocations: 3.984 kB / 0.6236 GB, free: 15.17 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.662e-05/0.01185, allocations: 16.44 kB / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.01185, allocations: 0 / 0.6236 GB, free: 15.15 MB / 0.545 GB Notification: Performance of Templates: time 0.003819/0.01567, allocations: 0.7502 MB / 0.6243 GB, free: 14.41 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737750582396984] Failed to read output from testmodel.py, exit status != 0: 0.0251799114048481 0.040964876000000004 0.032630593 Calling exit ...