Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0008163/0.0008163, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008113/0.0008113, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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.8786/0.8786, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6754/0.6754, allocations: 154.6 MB / 414.5 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.81e-07/7.81e-07, allocations: 0 / 0.6194 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.127e-05, allocations: 5.094 kB / 0.6194 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0009119/0.0009232, allocations: 0.61 MB / 0.62 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.0004013/0.001325, allocations: 310.9 kB / 0.6203 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.298e-05/0.001338, allocations: 0 / 0.6203 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 9.718e-06/0.001347, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 1.315e-05/0.00136, allocations: 3.938 kB / 0.6203 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.001659, allocations: 121.8 kB / 0.6204 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of NFFlatten.flatten: time 3.322e-05/0.001692, allocations: 8 kB / 0.6204 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFFlatten.resolveConnections: time 2.518e-05/0.001717, allocations: 0 / 0.6204 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 2.09e-05/0.001738, allocations: 11.98 kB / 0.6204 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 3.106e-05/0.001769, allocations: 0 / 0.6204 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.001778, allocations: 0 / 0.6204 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.002008, allocations: 259.6 kB / 0.6207 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 7.604e-06/0.002015, allocations: 3.938 kB / 0.6207 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 8.646e-06/0.002024, allocations: 8 kB / 0.6207 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.000124/0.002148, allocations: 115.7 kB / 0.6208 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.00215, allocations: 8 kB / 0.6208 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of FrontEnd: time 4.81e-07/0.002151, allocations: 0 / 0.6208 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.044e-06/0.002153, allocations: 0 / 0.6208 GB, free: 10.59 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001796/0.002332, allocations: 272.2 kB / 0.621 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 2.155e-05/0.002354, allocations: 12.03 kB / 0.6211 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.002388, allocations: 0.9375 kB / 0.6211 GB, free: 10.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.382e-05/0.002442, allocations: 113.7 kB / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-06/0.002447, allocations: 384 / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.002457, allocations: 384 / 0.6212 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.181e-05/0.002519, allocations: 59.95 kB / 0.6212 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-06/0.002522, allocations: 4.188 kB / 0.6212 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-06/0.002526, allocations: 384 / 0.6212 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.00253, allocations: 4.375 kB / 0.6212 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.223e-05/0.002542, allocations: 7.938 kB / 0.6212 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.156e-05/0.002613, allocations: 97.33 kB / 0.6213 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.684e-05/0.00264, allocations: 26.55 kB / 0.6214 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.105e-05/0.002651, allocations: 16.84 kB / 0.6214 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000287/0.002938, allocations: 75.86 kB / 0.6215 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.002959, allocations: 34.56 kB / 0.6215 GB, free: 9.758 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.002961, allocations: 3.984 kB / 0.6215 GB, free: 9.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0002966/0.003257, allocations: 173.2 kB / 0.6217 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/0.003276, allocations: 51.62 kB / 0.6217 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.139e-05/0.003317, allocations: 109.8 kB / 0.6218 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.003325, allocations: 25.7 kB / 0.6218 GB, free: 9.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.053e-05/0.003346, allocations: 80.14 kB / 0.6219 GB, free: 9.258 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.219e-05/0.003358, allocations: 11.91 kB / 0.6219 GB, free: 9.246 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.00338, allocations: 17.72 kB / 0.6219 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/0.003449, allocations: 314.8 kB / 0.6222 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.003459, allocations: 8 kB / 0.6222 GB, free: 8.898 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.965e-05/0.003479, allocations: 17.66 kB / 0.6223 GB, free: 8.875 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.859e-05/0.003508, allocations: 29.84 kB / 0.6223 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.003508, allocations: 0 / 0.6223 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.796e-05/0.003566, allocations: 53.62 kB / 0.6223 GB, free: 8.781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-06/0.003573, allocations: 4 kB / 0.6223 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-06/0.003575, allocations: 0 / 0.6223 GB, free: 8.777 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.003582, allocations: 4 kB / 0.6223 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.698e-05/0.003609, allocations: 4 kB / 0.6224 GB, free: 8.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.003613, allocations: 7.922 kB / 0.6224 GB, free: 8.762 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.1e-05/0.003624, allocations: 8 kB / 0.6224 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-06/0.003627, allocations: 0 / 0.6224 GB, free: 8.754 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.074e-05/0.003668, allocations: 114.9 kB / 0.6225 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.738e-06/0.003678, allocations: 0 / 0.6225 GB, free: 8.633 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.697e-05/0.003744, allocations: 57.31 kB / 0.6225 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.62e-07/0.003745, allocations: 0 / 0.6225 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.003747, allocations: 0 / 0.6225 GB, free: 8.566 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.003751, allocations: 7.938 kB / 0.6225 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.697e-05/0.003798, allocations: 101.3 kB / 0.6226 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.003798, allocations: 0 / 0.6226 GB, free: 8.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.899e-05/0.003827, allocations: 8 kB / 0.6226 GB, free: 8.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.003828, allocations: 4 kB / 0.6226 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.337e-06/0.003831, allocations: 0 / 0.6226 GB, free: 8.418 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-07/0.003832, allocations: 3.938 kB / 0.6227 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.003832, allocations: 0 / 0.6227 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.717e-05/0.00392, allocations: 89 kB / 0.6227 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.156e-06/0.003923, allocations: 0 / 0.6227 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-06/0.003929, allocations: 3.938 kB / 0.6227 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.673e-05/0.003946, allocations: 4.031 kB / 0.6227 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-06/0.003952, allocations: 0 / 0.6227 GB, free: 8.301 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.003956, allocations: 7.922 kB / 0.6228 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.003979, allocations: 91.28 kB / 0.6228 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.003979, allocations: 0 / 0.6228 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000132/0.004111, allocations: 23.94 kB / 0.6229 GB, free: 8.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0001029/0.004214, allocations: 123.2 kB / 0.623 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 4.229e-05/0.004256, allocations: 16 kB / 0.623 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.81e-07/0.004257, allocations: 0 / 0.623 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/0.004268, allocations: 15.92 kB / 0.623 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.881e-05/0.004347, allocations: 0 / 0.623 GB, free: 8.016 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.004498, allocations: 134.7 kB / 0.6231 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.69e-05/0.004524, allocations: 63.34 kB / 0.6232 GB, free: 7.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.004537, allocations: 12.83 kB / 0.6232 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of SimCode: time 3.81e-07/0.004537, allocations: 0 / 0.6232 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of Templates: time 0.001251/0.005788, allocations: 0.7938 MB / 0.624 GB, free: 6.969 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.737361715175211] Failed to read output from testmodel.py, exit status != 0: 0.009726348333060741 0.017125826 0.013402967 Calling exit ...