Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007471/0.0007471, allocations: 100.4 kB / 19.7 MB, free: 452 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.0007911/0.0007911, allocations: 213 kB / 23 MB, free: 2.98 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.903/0.903, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8107/0.8107, allocations: 203.8 MB / 0.5049 GB, free: 10.41 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.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.0009512/0.0009512, allocations: 66.78 kB / 0.7194 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.4929, allocations: 102 MB / 0.819 GB, free: 1.223 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001859/0.4948, allocations: 1.451 MB / 0.8204 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005783/0.4953, allocations: 362.9 kB / 0.8208 GB, free: 0 / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.555e-05/0.4954, allocations: 1.156 kB / 0.8208 GB, free: 0 / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 5.363e-05/0.4954, allocations: 4.047 kB / 0.8208 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.381e-05/0.4955, allocations: 4.688 kB / 0.8208 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004017/0.4959, allocations: 124.5 kB / 0.8209 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.61e-05/0.4959, allocations: 18.94 kB / 0.8209 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.496, allocations: 7.844 kB / 0.8209 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.303e-05/0.4961, allocations: 16.55 kB / 0.821 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.725e-05/0.4961, allocations: 14.39 kB / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.4961, allocations: 0 / 0.821 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.4964, allocations: 264.9 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.4965, allocations: 3.422 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.4965, allocations: 10.59 kB / 0.8212 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001925/0.4967, allocations: 110.6 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4967, allocations: 3.5 kB / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4967, allocations: 0 / 0.8213 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.4967, allocations: 0 / 0.8213 GB, free: 15.82 MB / 0.6198 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.0004003/0.4971, allocations: 294.3 kB / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.4971, allocations: 12.34 kB / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.4972, allocations: 0.9375 kB / 0.8216 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.353e-05/0.4973, allocations: 114.8 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-06/0.4973, allocations: 384 / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4973, allocations: 2.031 kB / 0.8217 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.4974, allocations: 55.41 kB / 0.8218 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.188e-06/0.4974, allocations: 192 / 0.8218 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.4974, allocations: 3.938 kB / 0.8218 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.4975, allocations: 0 / 0.8218 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.4975, allocations: 37.28 kB / 0.8218 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.4978, allocations: 198.5 kB / 0.822 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.583e-05/0.4979, allocations: 36.22 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.951e-05/0.498, allocations: 27.09 kB / 0.8221 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.4983, allocations: 79.16 kB / 0.8222 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.4983, allocations: 38.3 kB / 0.8222 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4983, allocations: 0 / 0.8222 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002552/0.4986, allocations: 90.25 kB / 0.8223 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.4986, allocations: 51.41 kB / 0.8223 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.93e-05/0.4987, allocations: 108.8 kB / 0.8224 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.4987, allocations: 25.7 kB / 0.8225 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.4987, allocations: 81.67 kB / 0.8225 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.4987, allocations: 12.3 kB / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.4988, allocations: 13.66 kB / 0.8226 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.4988, allocations: 310.8 kB / 0.8229 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.638e-05/0.4989, allocations: 23.48 kB / 0.8229 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.121e-05/0.4989, allocations: 19.42 kB / 0.8229 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.499, allocations: 41.38 kB / 0.8229 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.499, allocations: 0 / 0.8229 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.4991, allocations: 67.39 kB / 0.823 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4991, allocations: 5.094 kB / 0.823 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.4992, allocations: 1.219 kB / 0.823 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.4992, allocations: 4 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.326e-05/0.4992, allocations: 11.66 kB / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.4992, allocations: 0 / 0.823 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.675e-05/0.4993, allocations: 18.56 kB / 0.823 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4993, allocations: 1.062 kB / 0.823 GB, free: 14.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 (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 6.263e-05/0.4993, allocations: 112.4 kB / 0.8232 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.4994, allocations: 9.109 kB / 0.8232 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.4995, allocations: 76.5 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4995, allocations: 0 / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.4995, allocations: 2.047 kB / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.4995, allocations: 0 / 0.8232 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.664e-05/0.4996, allocations: 109.5 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4996, allocations: 0.6562 kB / 0.8233 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.309e-05/0.4997, allocations: 9.781 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/0.4997, allocations: 3.938 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.4997, allocations: 0 / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.4997, allocations: 1.859 kB / 0.8234 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4997, allocations: 4.031 kB / 0.8234 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.4998, allocations: 165.4 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.4998, allocations: 9.562 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.4998, allocations: 2.281 kB / 0.8235 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.989e-05/0.4999, allocations: 13.75 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.068e-05/0.4999, allocations: 3.062 kB / 0.8235 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.4999, allocations: 4.75 kB / 0.8236 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.376e-05/0.5, allocations: 83.2 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7e-08/0.5, allocations: 4.031 kB / 0.8236 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001661/0.5001, allocations: 19.52 kB / 0.8237 GB, free: 13.74 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 (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.0001354/0.5003, allocations: 106.1 kB / 0.8238 GB, free: 13.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001545/0.5004, allocations: 40.56 kB / 0.8238 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5004, allocations: 0 / 0.8238 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.754e-05/0.5005, allocations: 20.23 kB / 0.8238 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.5007, allocations: 6.969 kB / 0.8238 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002807/0.501, allocations: 142.3 kB / 0.824 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.971e-05/0.501, allocations: 60.91 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.247e-05/0.5011, allocations: 9.016 kB / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of SimCode: time 3.61e-07/0.5011, allocations: 0 / 0.824 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.002118/0.5032, allocations: 0.7116 MB / 0.8247 GB, free: 13.36 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.6329404059797525] Failed to read output from testmodel.py, exit status != 0: 0.5091110588982701 0.51952417 0.020906804 Calling exit ...