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.0008267/0.0008267, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001193/0.001193, allocations: 174.3 kB / 23.21 MB, free: 1.352 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 0.8897/0.8897, allocations: 177.1 MB / 203.5 MB, free: 5.754 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-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.699/0.699, allocations: 154.5 MB / 414.5 MB, free: 0.8359 MB / 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.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 1.503e-06/1.503e-06, allocations: 0 / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.723e-05/1.874e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.18 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.000979/0.0009978, allocations: 0.6007 MB / 0.6199 GB, free: 12.58 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004352/0.001433, allocations: 287 kB / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.001447, allocations: 0 / 0.6202 GB, free: 12.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.376e-05/0.001461, allocations: 7.938 kB / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.671e-06/0.001466, allocations: 0 / 0.6202 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.001809, allocations: 107.6 kB / 0.6203 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 4.518e-05/0.001855, allocations: 4 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.625e-05/0.001891, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 2.303e-05/0.001914, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.076e-05/0.001935, allocations: 4 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.001946, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.002212, allocations: 259.6 kB / 0.6206 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.122e-05/0.002223, allocations: 0 / 0.6206 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.216e-05/0.002235, allocations: 0 / 0.6206 GB, free: 11.93 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.002388, allocations: 111.8 kB / 0.6207 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.00239, allocations: 0 / 0.6207 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 7.11e-07/0.002391, allocations: 0 / 0.6207 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.002394, allocations: 0 / 0.6207 GB, free: 11.82 MB / 0.5886 GB 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.0002206/0.002615, allocations: 266.2 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.002647, allocations: 9.469 kB / 0.6209 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.002695, allocations: 12.92 kB / 0.6209 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.62e-05/0.002751, allocations: 105.8 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.00276, allocations: 4.375 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.002767, allocations: 384 / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.499e-05/0.002842, allocations: 30.2 kB / 0.6211 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.002849, allocations: 4.125 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.002857, allocations: 4.375 kB / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.002861, allocations: 384 / 0.6211 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.647e-05/0.002878, allocations: 3.938 kB / 0.6211 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.898e-05/0.002967, allocations: 93.33 kB / 0.6212 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.003001, allocations: 26.59 kB / 0.6212 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.003013, allocations: 8.859 kB / 0.6212 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002774/0.00329, allocations: 51.95 kB / 0.6213 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.003309, allocations: 34.5 kB / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.003309, allocations: 0 / 0.6213 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000117/0.003426, allocations: 37.69 kB / 0.6213 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.315e-05/0.00345, allocations: 55.53 kB / 0.6214 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.319e-05/0.003473, allocations: 89.86 kB / 0.6215 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.725e-06/0.003481, allocations: 25.7 kB / 0.6215 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 1.783e-05/0.003498, allocations: 80.14 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.003522, allocations: 4 kB / 0.6216 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/0.003542, allocations: 13.72 kB / 0.6216 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.637e-05/0.003609, allocations: 314.8 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.003616, allocations: 0 / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-06/0.003621, allocations: 4 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.08e-05/0.003642, allocations: 8.797 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.003644, allocations: 8.062 kB / 0.6219 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.7e-05/0.003681, allocations: 37.69 kB / 0.6219 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.003691, allocations: 6.031 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.003695, allocations: 0 / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.003705, allocations: 0 / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.204e-05/0.003737, allocations: 4 kB / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.003741, allocations: 0 / 0.6219 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.475e-06/0.003749, allocations: 3.938 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.429e-06/0.003754, allocations: 0 / 0.622 GB, free: 10.32 MB / 0.5886 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 4.424e-05/0.003798, allocations: 110.8 kB / 0.6221 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-06/0.003806, allocations: 4.031 kB / 0.6221 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.868e-05/0.003864, allocations: 40.62 kB / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.003866, allocations: 0 / 0.6221 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.00387, allocations: 7.938 kB / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.003872, allocations: 0 / 0.6221 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.215e-05/0.003914, allocations: 101.3 kB / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003915, allocations: 0 / 0.6222 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-06/0.003922, allocations: 7.984 kB / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.003923, allocations: 0 / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-06/0.003927, allocations: 32 / 0.6222 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.003929, allocations: 8 kB / 0.6222 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.003929, allocations: 0 / 0.6222 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.428e-05/0.003974, allocations: 61.02 kB / 0.6223 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.276e-06/0.003977, allocations: 0 / 0.6223 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.003988, allocations: 3.984 kB / 0.6223 GB, free: 9.918 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.328e-06/0.003993, allocations: 3.984 kB / 0.6223 GB, free: 9.914 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.004006, allocations: 8 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-06/0.004007, allocations: 0 / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 1.915e-05/0.004026, allocations: 79.22 kB / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.004027, allocations: 0 / 0.6224 GB, free: 9.828 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001287/0.004155, allocations: 15.97 kB / 0.6224 GB, free: 9.812 MB / 0.5886 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.0001092/0.004264, allocations: 111.2 kB / 0.6225 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 4.908e-05/0.004313, allocations: 4 kB / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.004315, allocations: 0 / 0.6225 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-06/0.004319, allocations: 4 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.745e-05/0.004406, allocations: 1.422 kB / 0.6225 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001436/0.00455, allocations: 106.7 kB / 0.6226 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.884e-05/0.004579, allocations: 59.34 kB / 0.6227 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.145e-05/0.00459, allocations: 12.62 kB / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of SimCode: time 3e-07/0.00459, allocations: 0 / 0.6227 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of Templates: time 0.001169/0.00576, allocations: 470.4 kB / 0.6231 GB, free: 9.004 MB / 0.5886 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: 4.993626075796783] Failed to read output from testmodel.py, exit status != 0: 0.009916889481246471 0.017708111000000002 0.013685618 Calling exit ...