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.001452/0.001452, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002336/0.002336, allocations: 214.1 kB / 22.25 MB, free: 5.262 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.514/1.514, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.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.378/1.378, allocations: 203.8 MB / 0.5042 GB, free: 4.602 MB / 414.1 MB " [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.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.002092/0.002092, allocations: 63.89 kB / 0.7187 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5932/0.5952, allocations: 102 MB / 0.8183 GB, free: 28.85 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.002465/0.5977, allocations: 0.6174 MB / 0.8189 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009074/0.5986, allocations: 321.9 kB / 0.8192 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.142e-05/0.5986, allocations: 4.844 kB / 0.8192 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.5987, allocations: 0 / 0.8192 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.5987, allocations: 0 / 0.8192 GB, free: 28.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006229/0.5993, allocations: 123.4 kB / 0.8193 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.198e-05/0.5994, allocations: 21.55 kB / 0.8194 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 5.723e-05/0.5995, allocations: 5.328 kB / 0.8194 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.825e-05/0.5995, allocations: 14.2 kB / 0.8194 GB, free: 28.25 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 7.973e-05/0.5996, allocations: 11.23 kB / 0.8194 GB, free: 28.24 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.5996, allocations: 1.094 kB / 0.8194 GB, free: 28.24 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006173/0.6003, allocations: 258.3 kB / 0.8196 GB, free: 28.19 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.586e-05/0.6003, allocations: 11.89 kB / 0.8197 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.6003, allocations: 8.516 kB / 0.8197 GB, free: 28.18 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.6007, allocations: 109.1 kB / 0.8198 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.6007, allocations: 2.062 kB / 0.8198 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.236e-06/0.6007, allocations: 0 / 0.8198 GB, free: 28.15 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.6007, allocations: 3.938 kB / 0.8198 GB, free: 28.14 MB / 0.6387 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.0006041/0.6013, allocations: 281.5 kB / 0.82 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.6013, allocations: 11.11 kB / 0.8201 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.6015, allocations: 13.14 kB / 0.8201 GB, free: 27.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6016, allocations: 105.5 kB / 0.8202 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.6016, allocations: 6.328 kB / 0.8202 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.6016, allocations: 4.969 kB / 0.8202 GB, free: 27.73 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.6018, allocations: 102.2 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.6019, allocations: 0.9688 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.6019, allocations: 5.609 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.6019, allocations: 1.781 kB / 0.8203 GB, free: 27.62 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.602, allocations: 21.86 kB / 0.8203 GB, free: 27.61 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.6021, allocations: 116 kB / 0.8204 GB, free: 27.48 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.6023, allocations: 55 kB / 0.8205 GB, free: 27.45 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.6024, allocations: 28.34 kB / 0.8205 GB, free: 27.43 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/0.6031, allocations: 89.58 kB / 0.8206 GB, free: 27.42 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.6031, allocations: 31.5 kB / 0.8206 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.6031, allocations: 4.438 kB / 0.8206 GB, free: 27.38 MB / 0.6387 GB Notification: Performance of matching and sorting (n=11): time 0.001559/0.6047, allocations: 447.6 kB / 0.821 GB, free: 27.05 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.6047, allocations: 58.12 kB / 0.8211 GB, free: 26.98 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.6048, allocations: 95.86 kB / 0.8212 GB, free: 26.89 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.6048, allocations: 31.2 kB / 0.8212 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.6049, allocations: 85.89 kB / 0.8213 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.724e-05/0.6049, allocations: 40.77 kB / 0.8213 GB, free: 26.73 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.605, allocations: 27.58 kB / 0.8214 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.628e-05/0.6051, allocations: 319.3 kB / 0.8217 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.6051, allocations: 19.27 kB / 0.8217 GB, free: 26.39 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.191e-05/0.6052, allocations: 24.31 kB / 0.8217 GB, free: 26.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.6053, allocations: 56.27 kB / 0.8218 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6053, allocations: 3.938 kB / 0.8218 GB, free: 26.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002493/0.6056, allocations: 99.83 kB / 0.8219 GB, free: 26.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/0.6056, allocations: 13.25 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.6056, allocations: 0.7031 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.6056, allocations: 1.312 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.6058, allocations: 20.33 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6058, allocations: 5.078 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.952e-05/0.6058, allocations: 4.75 kB / 0.8219 GB, free: 26.29 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6058, allocations: 3.469 kB / 0.8219 GB, free: 26.29 MB / 0.6387 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 8.416e-05/0.6059, allocations: 118.5 kB / 0.822 GB, free: 26.17 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.606, allocations: 15.19 kB / 0.822 GB, free: 26.16 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.6062, allocations: 110.2 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.6063, allocations: 1.344 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6063, allocations: 0.5625 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.6063, allocations: 1.453 kB / 0.8221 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.6067, allocations: 297.1 kB / 0.8224 GB, free: 25.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6067, allocations: 3.938 kB / 0.8224 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.6068, allocations: 23.11 kB / 0.8225 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.638e-06/0.6068, allocations: 5.75 kB / 0.8225 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.6068, allocations: 1.188 kB / 0.8225 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6069, allocations: 2.031 kB / 0.8225 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.6069, allocations: 0 / 0.8225 GB, free: 25.82 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/0.6072, allocations: 220.7 kB / 0.8227 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.933e-05/0.6072, allocations: 11.78 kB / 0.8227 GB, free: 25.65 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.6072, allocations: 7.938 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.617e-05/0.6073, allocations: 3.016 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.6074, allocations: 6.719 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6074, allocations: 8.281 kB / 0.8227 GB, free: 25.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.686e-05/0.6074, allocations: 83.34 kB / 0.8228 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.6074, allocations: 0 / 0.8228 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003269/0.6077, allocations: 42.06 kB / 0.8228 GB, free: 25.55 MB / 0.6387 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.0002514/0.608, allocations: 139.8 kB / 0.823 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000188/0.6082, allocations: 58.52 kB / 0.823 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6082, allocations: 1.25 kB / 0.823 GB, free: 25.44 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 5.246e-05/0.6082, allocations: 29.8 kB / 0.823 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.6085, allocations: 12.62 kB / 0.8231 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003707/0.6088, allocations: 176.1 kB / 0.8232 GB, free: 25.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.774e-05/0.6089, allocations: 75.14 kB / 0.8233 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 5.492e-05/0.609, allocations: 13.03 kB / 0.8233 GB, free: 25.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.609, allocations: 11.78 kB / 0.8233 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of SimCode: time 3e-07/0.609, allocations: 0 / 0.8233 GB, free: 25.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.005255/0.6142, allocations: 1.406 MB / 0.8247 GB, free: 25.09 MB / 0.6387 GB " [Timeout remaining time 659] 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 sys.exit(0), Time elapsed: 6.934547424316406] Failed to read output from testmodel.py, exit status != 0: 0.6232533883303404 0.637198187 0.033438148 Calling exit ...