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.001514/0.001514, allocations: 79.44 kB / 19.18 MB, free: 2.516 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.001485/0.001485, allocations: 165.5 kB / 22.46 MB, free: 5.375 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.441/1.441, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 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-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 1.195/1.195, allocations: 154.5 MB / 413.7 MB, free: 5.293 MB / 382.1 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 1.293e-06/1.293e-06, allocations: 0 / 0.6186 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.064e-05, allocations: 5.797 kB / 0.6186 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001584/0.001614, allocations: 0.587 MB / 0.6192 GB, free: 4 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006783/0.002293, allocations: 294.9 kB / 0.6194 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.69e-05/0.00231, allocations: 0 / 0.6194 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.002326, allocations: 0 / 0.6194 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-06/0.002333, allocations: 0 / 0.6194 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004611/0.002794, allocations: 113.5 kB / 0.6195 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 3.833e-05/0.002832, allocations: 0 / 0.6195 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.002881, allocations: 8.578 kB / 0.6195 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.035e-05/0.002912, allocations: 7.938 kB / 0.6196 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.805e-05/0.00294, allocations: 4 kB / 0.6196 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.002952, allocations: 0 / 0.6196 GB, free: 3.582 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004758/0.003428, allocations: 263.5 kB / 0.6198 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.00344, allocations: 0 / 0.6198 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.34e-05/0.003453, allocations: 0 / 0.6198 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.003682, allocations: 119.7 kB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.003684, allocations: 0 / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 5.11e-07/0.003685, allocations: 0 / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.003693, allocations: 0 / 0.6199 GB, free: 3.207 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000362/0.004055, allocations: 258.2 kB / 0.6202 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.004095, allocations: 13.47 kB / 0.6202 GB, free: 2.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.004144, allocations: 4.938 kB / 0.6202 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.491e-05/0.004239, allocations: 101.8 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.004251, allocations: 4.375 kB / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.004262, allocations: 384 / 0.6203 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.004419, allocations: 38.25 kB / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.004429, allocations: 192 / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.004437, allocations: 384 / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.004441, allocations: 384 / 0.6203 GB, free: 2.734 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.286e-05/0.004464, allocations: 11.88 kB / 0.6203 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.004594, allocations: 97.28 kB / 0.6204 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.532e-05/0.00464, allocations: 18.67 kB / 0.6204 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.004655, allocations: 8.859 kB / 0.6205 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004859/0.005141, allocations: 39.95 kB / 0.6205 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.005172, allocations: 42.5 kB / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.051e-06/0.005173, allocations: 0 / 0.6205 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.005306, allocations: 33.64 kB / 0.6206 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.005344, allocations: 59.47 kB / 0.6206 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.968e-05/0.005424, allocations: 89.86 kB / 0.6207 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.005446, allocations: 29.7 kB / 0.6207 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.307e-05/0.005479, allocations: 80.14 kB / 0.6208 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.616e-05/0.005505, allocations: 0 / 0.6208 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.005535, allocations: 13.7 kB / 0.6208 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.005711, allocations: 322.8 kB / 0.6211 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.00572, allocations: 0 / 0.6211 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.005725, allocations: 0 / 0.6211 GB, free: 1.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.005752, allocations: 8.859 kB / 0.6211 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.005754, allocations: 4.062 kB / 0.6211 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.582e-05/0.00582, allocations: 33.64 kB / 0.6212 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.005836, allocations: 8 kB / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.00584, allocations: 0 / 0.6212 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.005854, allocations: 3.984 kB / 0.6212 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.513e-05/0.005889, allocations: 0 / 0.6212 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.005896, allocations: 4 kB / 0.6212 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.005907, allocations: 3.938 kB / 0.6212 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.005912, allocations: 0 / 0.6212 GB, free: 1.727 MB / 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 (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 7.566e-05/0.005987, allocations: 110.8 kB / 0.6213 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.006007, allocations: 4.031 kB / 0.6213 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001091/0.006116, allocations: 44.64 kB / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-06/0.006117, allocations: 0 / 0.6214 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.00612, allocations: 3.938 kB / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.006122, allocations: 0 / 0.6214 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.847e-05/0.006201, allocations: 97.27 kB / 0.6214 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.006201, allocations: 4 kB / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.115e-05/0.006213, allocations: 0 / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.006214, allocations: 0 / 0.6215 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-06/0.00622, allocations: 4.031 kB / 0.6215 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.006224, allocations: 4 kB / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006224, allocations: 0 / 0.6215 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.65e-05/0.006321, allocations: 65.06 kB / 0.6215 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/0.006484, allocations: 4 kB / 0.6215 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.668e-06/0.006493, allocations: 0 / 0.6215 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.813e-06/0.0065, allocations: 0 / 0.6215 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.589e-05/0.006516, allocations: 3.938 kB / 0.6215 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006521, allocations: 3.984 kB / 0.6215 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.324e-05/0.006564, allocations: 75.28 kB / 0.6216 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.006564, allocations: 3.938 kB / 0.6216 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002043/0.006769, allocations: 23.95 kB / 0.6216 GB, free: 1.219 MB / 0.5294 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.0002523/0.007021, allocations: 119.1 kB / 0.6217 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.129e-05/0.007092, allocations: 4 kB / 0.6217 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.007093, allocations: 0 / 0.6217 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 5.911e-06/0.007099, allocations: 0 / 0.6217 GB, free: 1.086 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001285/0.007228, allocations: 7.984 kB / 0.6218 GB, free: 1.078 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001946/0.007422, allocations: 72.88 kB / 0.6218 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.007475, allocations: 55.48 kB / 0.6219 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.322e-05/0.007488, allocations: 4 kB / 0.6219 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.007507, allocations: 12.5 kB / 0.6219 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of SimCode: time 5.21e-07/0.007508, allocations: 0 / 0.6219 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of Templates: time 0.003084/0.01059, allocations: 472.3 kB / 0.6223 GB, free: 440 kB / 0.5294 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.699116475880146] Failed to read output from testmodel.py, exit status != 0: 0.02131487801671028 0.036198916000000005 0.029436572 Calling exit ...