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.00198/0.00198, allocations: 78.33 kB / 19.18 MB, free: 2.527 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.00217/0.00217, allocations: 173.3 kB / 22.46 MB, free: 5.355 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.482/1.482, 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.193/1.193, 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.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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6186 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.178e-05/3.388e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001904/0.001938, allocations: 0.6245 MB / 0.6192 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007994/0.002737, allocations: 318.8 kB / 0.6195 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.002771, allocations: 3.938 kB / 0.6195 GB, free: 3.664 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.002792, allocations: 3.938 kB / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 2.887e-05/0.002821, allocations: 0 / 0.6195 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005745/0.003396, allocations: 127.5 kB / 0.6196 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.003472, allocations: 19.92 kB / 0.6196 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.003522, allocations: 15.92 kB / 0.6197 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.909e-05/0.003592, allocations: 15.98 kB / 0.6197 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.2e-05/0.003644, allocations: 7.984 kB / 0.6197 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.706e-05/0.003661, allocations: 0 / 0.6197 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004433/0.004104, allocations: 259.6 kB / 0.6199 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.004125, allocations: 7.922 kB / 0.6199 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.004149, allocations: 8 kB / 0.6199 GB, free: 3.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.004435, allocations: 131.6 kB / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.004439, allocations: 0 / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.513e-06/0.00444, allocations: 0 / 0.6201 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.004445, allocations: 0 / 0.6201 GB, free: 3.078 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005795/0.005024, allocations: 294 kB / 0.6203 GB, free: 2.758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.005074, allocations: 13.47 kB / 0.6204 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.723e-05/0.005171, allocations: 4.891 kB / 0.6204 GB, free: 2.742 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.005342, allocations: 105.8 kB / 0.6205 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.005354, allocations: 4.312 kB / 0.6205 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.00539, allocations: 4.375 kB / 0.6205 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.005604, allocations: 105.6 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.005624, allocations: 4.188 kB / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.00564, allocations: 384 / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.005646, allocations: 384 / 0.6206 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.169e-05/0.005718, allocations: 35.84 kB / 0.6206 GB, free: 2.445 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002446/0.005962, allocations: 113.3 kB / 0.6207 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.006128, allocations: 50.56 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.006187, allocations: 28.84 kB / 0.6208 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00062/0.006807, allocations: 79.92 kB / 0.6209 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.006847, allocations: 34.5 kB / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.006848, allocations: 0 / 0.6209 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11): time 0.001536/0.008384, allocations: 450.8 kB / 0.6213 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.008438, allocations: 55.41 kB / 0.6214 GB, free: 1.535 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/0.008552, allocations: 101.8 kB / 0.6215 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.00858, allocations: 33.7 kB / 0.6215 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.00863, allocations: 80.14 kB / 0.6216 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.008684, allocations: 39.64 kB / 0.6216 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.838e-05/0.008762, allocations: 29.72 kB / 0.6217 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.00893, allocations: 318.8 kB / 0.622 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.799e-05/0.008978, allocations: 16 kB / 0.622 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.009025, allocations: 23.98 kB / 0.622 GB, free: 0.8711 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.009134, allocations: 55.09 kB / 0.6221 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.009134, allocations: 4 kB / 0.6221 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002122/0.009346, allocations: 97.62 kB / 0.6222 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.009371, allocations: 4 kB / 0.6222 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.009378, allocations: 4 kB / 0.6222 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.679e-05/0.009415, allocations: 11.94 kB / 0.6222 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.009543, allocations: 19.98 kB / 0.6222 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.009555, allocations: 3.984 kB / 0.6222 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.498e-05/0.00959, allocations: 4 kB / 0.6222 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.0096, allocations: 4 kB / 0.6222 GB, free: 0.6602 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 (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 0.0001297/0.009729, allocations: 118.8 kB / 0.6223 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.009767, allocations: 7.953 kB / 0.6223 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.01004, allocations: 105.8 kB / 0.6224 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.01005, allocations: 7.938 kB / 0.6224 GB, free: 412 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.01006, allocations: 4 kB / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01007, allocations: 0 / 0.6224 GB, free: 408 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005568/0.01062, allocations: 298.1 kB / 0.6227 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.01062, allocations: 0 / 0.6227 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.01077, allocations: 24 kB / 0.6227 GB, free: 48 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/0.01078, allocations: 3.938 kB / 0.6227 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.01079, allocations: 0 / 0.6227 GB, free: 44 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.0108, allocations: 3.984 kB / 0.6227 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0108, allocations: 0 / 0.6227 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.01124, allocations: 218.9 kB / 0.623 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.591e-05/0.01127, allocations: 12.03 kB / 0.623 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/0.0113, allocations: 11.94 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-05/0.01138, allocations: 4 kB / 0.623 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.01142, allocations: 11.92 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01143, allocations: 4 kB / 0.623 GB, free: 15.77 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.701e-05/0.01149, allocations: 79.28 kB / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.01149, allocations: 0 / 0.6231 GB, free: 15.69 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003361/0.01182, allocations: 47.86 kB / 0.6231 GB, free: 15.64 MB / 0.545 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.0004255/0.01225, allocations: 139.2 kB / 0.6233 GB, free: 15.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002062/0.01246, allocations: 65.78 kB / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.01246, allocations: 0 / 0.6233 GB, free: 15.44 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.017e-05/0.01252, allocations: 31.98 kB / 0.6233 GB, free: 15.41 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.01275, allocations: 7.938 kB / 0.6234 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005051/0.01325, allocations: 168.6 kB / 0.6235 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.381e-05/0.01335, allocations: 71.33 kB / 0.6236 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.455e-05/0.0134, allocations: 19.89 kB / 0.6236 GB, free: 15.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.082e-05/0.01343, allocations: 12.5 kB / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of SimCode: time 7.82e-07/0.01343, allocations: 0 / 0.6236 GB, free: 15.09 MB / 0.545 GB Notification: Performance of Templates: time 0.00536/0.01879, allocations: 1.393 MB / 0.625 GB, free: 13.74 MB / 0.545 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 sys.exit(0), Time elapsed: 5.827466048300266] Failed to read output from testmodel.py, exit status != 0: 0.029276467859745026 0.045510681000000004 0.037856105 Calling exit ...