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.0008107/0.0008107, allocations: 100.4 kB / 19.71 MB, free: 440 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.0009731/0.0009731, allocations: 215.5 kB / 23 MB, free: 2.973 MB / 13.93 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.9151/0.9151, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.767/0.767, allocations: 203.8 MB / 0.5049 GB, free: 10.4 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008643/0.0008643, allocations: 71 kB / 0.7194 GB, free: 3.504 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4347, allocations: 102 MB / 0.8191 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001214/0.4359, allocations: 0.5914 MB / 0.8196 GB, free: 0.9727 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004593/0.4364, allocations: 291.9 kB / 0.8199 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.4364, allocations: 0 / 0.8199 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.4364, allocations: 1.156 kB / 0.8199 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.703e-06/0.4364, allocations: 0 / 0.8199 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.4368, allocations: 116.9 kB / 0.82 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.965e-05/0.4368, allocations: 4 kB / 0.82 GB, free: 0.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.055e-05/0.4369, allocations: 6.453 kB / 0.82 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.384e-05/0.4369, allocations: 1.031 kB / 0.82 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.061e-05/0.4369, allocations: 0.6094 kB / 0.82 GB, free: 0.7461 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.4369, allocations: 5.219 kB / 0.82 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003008/0.4372, allocations: 255.8 kB / 0.8203 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.4372, allocations: 0 / 0.8203 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.4373, allocations: 0.9375 kB / 0.8203 GB, free: 0.6914 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001505/0.4374, allocations: 91.81 kB / 0.8204 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4374, allocations: 0 / 0.8204 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4374, allocations: 0 / 0.8204 GB, free: 0.668 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.4374, allocations: 4 kB / 0.8204 GB, free: 0.6641 MB / 0.6042 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.0001967/0.4376, allocations: 256 kB / 0.8206 GB, free: 404 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.4377, allocations: 12.11 kB / 0.8206 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.019e-05/0.4377, allocations: 0.9375 kB / 0.8206 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.293e-05/0.4377, allocations: 107.1 kB / 0.8207 GB, free: 272 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4377, allocations: 4.375 kB / 0.8207 GB, free: 268 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.4378, allocations: 6.547 kB / 0.8207 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.515e-05/0.4378, allocations: 28.56 kB / 0.8208 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.4378, allocations: 192 / 0.8208 GB, free: 232 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-06/0.4378, allocations: 5.656 kB / 0.8208 GB, free: 228 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4378, allocations: 4.75 kB / 0.8208 GB, free: 224 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.769e-05/0.4379, allocations: 5.938 kB / 0.8208 GB, free: 220 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.128e-05/0.4379, allocations: 95.05 kB / 0.8209 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.215e-05/0.438, allocations: 21.72 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.155e-05/0.438, allocations: 6.109 kB / 0.8209 GB, free: 60 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/0.4383, allocations: 46.47 kB / 0.821 GB, free: 52 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.4383, allocations: 39.16 kB / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.4383, allocations: 0 / 0.821 GB, free: 4 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.000134/0.4384, allocations: 40.64 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4384, allocations: 52.06 kB / 0.8211 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.828e-05/0.4385, allocations: 89.86 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.4385, allocations: 25.7 kB / 0.8212 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.7e-05/0.4385, allocations: 83.39 kB / 0.8213 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.378e-05/0.4385, allocations: 12.64 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.837e-05/0.4385, allocations: 9.719 kB / 0.8213 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.4386, allocations: 314.6 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.937e-06/0.4386, allocations: 4.828 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.43e-06/0.4386, allocations: 2.562 kB / 0.8216 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.4386, allocations: 7.812 kB / 0.8216 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4386, allocations: 0 / 0.8216 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.774e-05/0.4387, allocations: 39.55 kB / 0.8216 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4387, allocations: 5.672 kB / 0.8216 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4387, allocations: 2.125 kB / 0.8216 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.4387, allocations: 3.938 kB / 0.8217 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.786e-05/0.4387, allocations: 2.719 kB / 0.8217 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.4388, allocations: 4.094 kB / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.633e-06/0.4388, allocations: 0 / 0.8217 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.4388, allocations: 0.5312 kB / 0.8217 GB, free: 15.29 MB / 0.6198 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.406e-05/0.4388, allocations: 108.8 kB / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.306e-06/0.4388, allocations: 0.6094 kB / 0.8218 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.4389, allocations: 48.12 kB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4389, allocations: 6.5 kB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4389, allocations: 0.7031 kB / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.4389, allocations: 0 / 0.8218 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.473e-05/0.4389, allocations: 98.72 kB / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.4389, allocations: 1.156 kB / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.681e-06/0.4389, allocations: 2.797 kB / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4389, allocations: 0 / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-06/0.4389, allocations: 0 / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.4389, allocations: 1.656 kB / 0.8219 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.439, allocations: 12.58 kB / 0.8219 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.622e-05/0.439, allocations: 60.84 kB / 0.822 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.376e-06/0.439, allocations: 0.7031 kB / 0.822 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.439, allocations: 1.656 kB / 0.822 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.947e-06/0.439, allocations: 4.734 kB / 0.822 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.439, allocations: 9.625 kB / 0.822 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-06/0.439, allocations: 0 / 0.822 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.84e-05/0.439, allocations: 77.59 kB / 0.8221 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.439, allocations: 3.938 kB / 0.8221 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001224/0.4392, allocations: 10.41 kB / 0.8221 GB, free: 14.84 MB / 0.6198 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.0001231/0.4393, allocations: 106.2 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 5.42e-05/0.4393, allocations: 5.25 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.4393, allocations: 0 / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.4394, allocations: 6.656 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.544e-05/0.4394, allocations: 0.8438 kB / 0.8222 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001564/0.4396, allocations: 112.6 kB / 0.8223 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.158e-05/0.4396, allocations: 59.5 kB / 0.8224 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.304e-05/0.4396, allocations: 8.188 kB / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of SimCode: time 2.91e-07/0.4396, allocations: 0 / 0.8224 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.001301/0.4409, allocations: 468.7 kB / 0.8228 GB, free: 14.5 MB / 0.6198 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.58634599018842] Failed to read output from testmodel.py, exit status != 0: 0.4459851239807904 0.455015606 0.015867641000000002 Calling exit ...