Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007529/0.0007529, 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.0007171/0.0007171, allocations: 174.3 kB / 23.21 MB, free: 1.348 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.8418/0.8418, allocations: 177.1 MB / 203.5 MB, free: 5.68 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.6648/0.6648, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.593e-05/1.715e-05, allocations: 2.781 kB / 0.6194 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001/0.001018, allocations: 0.6212 MB / 0.62 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.00149, allocations: 322.8 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.001517, allocations: 0 / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.001534, allocations: 7.875 kB / 0.6203 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.869e-05/0.001562, allocations: 4 kB / 0.6203 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.001926, allocations: 127.5 kB / 0.6204 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.636e-05/0.001983, allocations: 19.92 kB / 0.6205 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.865e-05/0.002021, allocations: 7.984 kB / 0.6205 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.67e-05/0.002068, allocations: 15.97 kB / 0.6205 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.002116, allocations: 4 kB / 0.6205 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.00213, allocations: 4 kB / 0.6205 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.002371, allocations: 255.6 kB / 0.6207 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.712e-05/0.002388, allocations: 15.92 kB / 0.6207 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.002405, allocations: 8 kB / 0.6208 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.00258, allocations: 131.6 kB / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.002582, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.002583, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.002586, allocations: 0 / 0.6209 GB, free: 11.59 MB / 0.5886 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.0003205/0.002906, allocations: 290 kB / 0.6212 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.00294, allocations: 12.03 kB / 0.6212 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.124e-05/0.002992, allocations: 4.891 kB / 0.6212 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.168e-05/0.003063, allocations: 109.8 kB / 0.6213 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.003074, allocations: 8.375 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.96e-05/0.003093, allocations: 4.375 kB / 0.6213 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001181/0.003212, allocations: 101.6 kB / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.003221, allocations: 192 / 0.6214 GB, free: 11 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.003232, allocations: 8.359 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.003237, allocations: 4.359 kB / 0.6214 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.003279, allocations: 19.94 kB / 0.6214 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000114/0.003393, allocations: 113.3 kB / 0.6215 GB, free: 10.83 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.71e-05/0.00348, allocations: 54.56 kB / 0.6216 GB, free: 10.77 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.003511, allocations: 28.84 kB / 0.6216 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003068/0.003818, allocations: 79.86 kB / 0.6217 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.003841, allocations: 38.55 kB / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 9.61e-07/0.003842, allocations: 0 / 0.6217 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.0007728/0.004615, allocations: 451.8 kB / 0.6221 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.004641, allocations: 55.41 kB / 0.6222 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.765e-05/0.004689, allocations: 101.8 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.066e-05/0.004699, allocations: 25.7 kB / 0.6223 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.271e-05/0.004722, allocations: 84.08 kB / 0.6224 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.243e-05/0.004754, allocations: 43.64 kB / 0.6224 GB, free: 9.777 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.004788, allocations: 29.72 kB / 0.6225 GB, free: 9.742 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.004856, allocations: 314.8 kB / 0.6228 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.004886, allocations: 27.98 kB / 0.6228 GB, free: 9.398 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.004912, allocations: 17.75 kB / 0.6228 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.004976, allocations: 56.84 kB / 0.6229 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.004977, allocations: 4 kB / 0.6229 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001023/0.005079, allocations: 100.2 kB / 0.623 GB, free: 9.219 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.00509, allocations: 4 kB / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.005095, allocations: 0 / 0.623 GB, free: 9.215 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.005107, allocations: 7.938 kB / 0.623 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.005174, allocations: 23.98 kB / 0.623 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.005179, allocations: 3.938 kB / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.194e-05/0.005191, allocations: 0 / 0.623 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.005196, allocations: 8 kB / 0.623 GB, free: 9.172 MB / 0.5886 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 5.199e-05/0.005248, allocations: 118.8 kB / 0.6231 GB, free: 9.047 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.005261, allocations: 4 kB / 0.6231 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001274/0.005388, allocations: 105 kB / 0.6232 GB, free: 8.938 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.005391, allocations: 7.938 kB / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005395, allocations: 192 / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.005398, allocations: 0 / 0.6232 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.005647, allocations: 306 kB / 0.6235 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.005648, allocations: 0 / 0.6235 GB, free: 8.594 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.00571, allocations: 20 kB / 0.6236 GB, free: 8.574 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.005713, allocations: 7.938 kB / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.005719, allocations: 0 / 0.6236 GB, free: 8.566 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.005722, allocations: 3.984 kB / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.005723, allocations: 0 / 0.6236 GB, free: 8.562 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001649/0.005888, allocations: 215.4 kB / 0.6238 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.235e-05/0.00591, allocations: 15.97 kB / 0.6238 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.005921, allocations: 3.938 kB / 0.6238 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.005962, allocations: 4.094 kB / 0.6238 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.701e-05/0.005979, allocations: 19.92 kB / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-06/0.005984, allocations: 0 / 0.6238 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.12e-05/0.006005, allocations: 79.34 kB / 0.6239 GB, free: 8.215 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.006005, allocations: 4 kB / 0.6239 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001785/0.006183, allocations: 47.86 kB / 0.6239 GB, free: 8.164 MB / 0.5886 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.0001551/0.006339, allocations: 143.2 kB / 0.6241 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.006442, allocations: 59.91 kB / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.006443, allocations: 0 / 0.6241 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.872e-05/0.006472, allocations: 31.92 kB / 0.6242 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.006624, allocations: 10.19 kB / 0.6242 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.006887, allocations: 193.5 kB / 0.6244 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.006929, allocations: 75.33 kB / 0.6244 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.006954, allocations: 20.5 kB / 0.6244 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.006954, allocations: 0 / 0.6244 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of Templates: time 0.002077/0.009032, allocations: 1.24 MB / 0.6257 GB, free: 6.34 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.893609318882227] Failed to read output from testmodel.py, exit status != 0: 0.013670175336301327 0.02113844 0.016786588 Calling exit ...