Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0007938/0.0007938, allocations: 100.4 kB / 19.7 MB, free: 448 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.0007715/0.0007715, allocations: 216.9 kB / 23 MB, free: 2.988 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.9034/0.9034, 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.7447/0.7447, allocations: 203.8 MB / 0.5049 GB, free: 10.42 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [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.0008921/0.0008921, allocations: 73.7 kB / 0.7194 GB, free: 3.473 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4525, allocations: 102 MB / 0.8191 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001435/0.4539, allocations: 0.6062 MB / 0.8197 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004973/0.4544, allocations: 322.9 kB / 0.82 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.393e-05/0.4544, allocations: 0 / 0.82 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.732e-05/0.4545, allocations: 7.938 kB / 0.82 GB, free: 0.7344 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.555e-05/0.4545, allocations: 3.938 kB / 0.82 GB, free: 0.7305 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.4549, allocations: 126.2 kB / 0.8201 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.342e-05/0.455, allocations: 23.41 kB / 0.8201 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.978e-05/0.455, allocations: 3.281 kB / 0.8201 GB, free: 0.6758 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.88e-05/0.455, allocations: 18.27 kB / 0.8201 GB, free: 0.6641 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.402e-05/0.4551, allocations: 13.02 kB / 0.8202 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.4551, allocations: 0 / 0.8202 GB, free: 0.6602 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002794/0.4554, allocations: 262.3 kB / 0.8204 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.629e-05/0.4554, allocations: 2.875 kB / 0.8204 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.4554, allocations: 18.38 kB / 0.8204 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.4556, allocations: 102.5 kB / 0.8205 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4556, allocations: 0 / 0.8205 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.255e-06/0.4556, allocations: 0 / 0.8205 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4556, allocations: 0 / 0.8205 GB, free: 0.5664 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003195/0.4559, allocations: 286.4 kB / 0.8208 GB, free: 288 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.4559, allocations: 7.281 kB / 0.8208 GB, free: 288 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.671e-05/0.456, allocations: 7.547 kB / 0.8208 GB, free: 284 kB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.544e-05/0.4561, allocations: 114.2 kB / 0.8209 GB, free: 148 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.4561, allocations: 6.625 kB / 0.8209 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.4561, allocations: 3.562 kB / 0.8209 GB, free: 144 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.4562, allocations: 106.4 kB / 0.821 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4562, allocations: 192 / 0.821 GB, free: 36 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4562, allocations: 11.08 kB / 0.821 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.4562, allocations: 0 / 0.821 GB, free: 28 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.4563, allocations: 16.95 kB / 0.8211 GB, free: 24 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.4564, allocations: 111.6 kB / 0.8212 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.017e-05/0.4565, allocations: 56 kB / 0.8212 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.4565, allocations: 33.03 kB / 0.8212 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.4569, allocations: 79.52 kB / 0.8213 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.4569, allocations: 39.69 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 9.32e-07/0.4569, allocations: 2.125 kB / 0.8214 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.000811/0.4577, allocations: 449.7 kB / 0.8218 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.4577, allocations: 54.31 kB / 0.8218 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.253e-05/0.4578, allocations: 98.17 kB / 0.8219 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.4578, allocations: 25.7 kB / 0.822 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/0.4578, allocations: 84.14 kB / 0.822 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.4578, allocations: 50.47 kB / 0.8221 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.4579, allocations: 27.94 kB / 0.8221 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.272e-05/0.4579, allocations: 317.8 kB / 0.8224 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.458, allocations: 23 kB / 0.8224 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.458, allocations: 19.77 kB / 0.8225 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.238e-05/0.4581, allocations: 55.83 kB / 0.8225 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.4581, allocations: 0 / 0.8225 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001057/0.4582, allocations: 101.3 kB / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.4582, allocations: 8.812 kB / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.4582, allocations: 0 / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4582, allocations: 1.812 kB / 0.8226 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.724e-05/0.4583, allocations: 23.84 kB / 0.8226 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4583, allocations: 3.984 kB / 0.8226 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.193e-05/0.4583, allocations: 5.188 kB / 0.8227 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.4583, allocations: 2.594 kB / 0.8227 GB, free: 14.68 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 (13): * Single equations (assignments): 13 * 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.06e-05/0.4584, allocations: 120.6 kB / 0.8228 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.4584, allocations: 14.7 kB / 0.8228 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001425/0.4585, allocations: 102.4 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.4585, allocations: 2.031 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4585, allocations: 0 / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4585, allocations: 1.375 kB / 0.8229 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002909/0.4588, allocations: 295.2 kB / 0.8232 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4588, allocations: 4 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.489e-05/0.4589, allocations: 20.67 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4589, allocations: 1.094 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.4589, allocations: 5.812 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4589, allocations: 1.156 kB / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4589, allocations: 0 / 0.8232 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.4591, allocations: 231.8 kB / 0.8234 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.4591, allocations: 11.02 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.4592, allocations: 1 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.513e-05/0.4592, allocations: 6.984 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.709e-05/0.4592, allocations: 11.08 kB / 0.8234 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.4592, allocations: 6.219 kB / 0.8235 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.743e-05/0.4592, allocations: 83.58 kB / 0.8235 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4592, allocations: 0 / 0.8235 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002083/0.4595, allocations: 43.89 kB / 0.8236 GB, free: 13.95 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0001769/0.4596, allocations: 136 kB / 0.8237 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.4598, allocations: 61.88 kB / 0.8238 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4598, allocations: 0 / 0.8238 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.592e-05/0.4598, allocations: 30.97 kB / 0.8238 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.46, allocations: 14.25 kB / 0.8238 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.4603, allocations: 206.3 kB / 0.824 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.4603, allocations: 74.22 kB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.431e-05/0.4603, allocations: 13.86 kB / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of SimCode: time 5.41e-07/0.4603, allocations: 0 / 0.8241 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.002348/0.4627, allocations: 1.223 MB / 0.8253 GB, free: 13.45 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.495047065895051] Failed to read output from testmodel.py, exit status != 0: 0.4681689874269068 0.47861978099999997 0.021167354000000003 Calling exit ...