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.000927/0.000927, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009905/0.0009905, allocations: 181 kB / 23.36 MB, free: 1.133 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.9451/0.9451, allocations: 177.1 MB / 203.8 MB, free: 5.461 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-545:108: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-545:116: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.813/0.813, allocations: 154.6 MB / 414.8 MB, free: 0.4961 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 1.713e-06/1.713e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.832 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.691e-05, allocations: 4.703 kB / 480.1 MB, free: 6.828 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001532/0.001549, allocations: 0.6212 MB / 480.7 MB, free: 6.238 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000609/0.002158, allocations: 314.6 kB / 481 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.766e-05/0.002176, allocations: 1.312 kB / 481 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.104e-05/0.002187, allocations: 0 / 481 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 1.795e-05/0.002205, allocations: 0 / 481 MB, free: 5.938 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.002542, allocations: 123 kB / 481.1 MB, free: 5.82 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.084e-05/0.002583, allocations: 8.766 kB / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.002614, allocations: 0 / 481.1 MB, free: 5.812 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.002643, allocations: 8.969 kB / 481.1 MB, free: 5.805 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.403e-05/0.002687, allocations: 5.422 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.028e-05/0.002697, allocations: 0 / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002446/0.002941, allocations: 268.2 kB / 481.4 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.225e-05/0.002954, allocations: 0.6562 kB / 481.4 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.052e-05/0.002964, allocations: 1.531 kB / 481.4 MB, free: 5.539 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001462/0.00311, allocations: 121.5 kB / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.413e-06/0.003112, allocations: 0 / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003112, allocations: 0 / 481.5 MB, free: 5.422 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.635e-06/0.003115, allocations: 0.625 kB / 481.5 MB, free: 5.422 MB / 442.7 MB 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.0002153/0.00333, allocations: 256.4 kB / 481.8 MB, free: 5.148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.003358, allocations: 9.344 kB / 481.8 MB, free: 5.141 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.483e-05/0.003413, allocations: 4.938 kB / 481.8 MB, free: 5.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.627e-05/0.003479, allocations: 105.7 kB / 481.9 MB, free: 5.008 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.407e-06/0.003489, allocations: 4.906 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/0.003504, allocations: 1.438 kB / 481.9 MB, free: 5.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.263e-05/0.003567, allocations: 59.95 kB / 481.9 MB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.872e-06/0.003573, allocations: 1.391 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.003579, allocations: 4.062 kB / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.003583, allocations: 384 / 482 MB, free: 4.934 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.054e-05/0.003593, allocations: 8.969 kB / 482 MB, free: 4.926 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.137e-05/0.003665, allocations: 61.05 kB / 482 MB, free: 4.852 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.003699, allocations: 27.94 kB / 482.1 MB, free: 4.816 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.17e-05/0.003711, allocations: 12.84 kB / 482.1 MB, free: 4.801 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.00398, allocations: 70.25 kB / 482.1 MB, free: 4.734 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/0.004002, allocations: 39.41 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 7.31e-07/0.004002, allocations: 0.9844 kB / 482.2 MB, free: 4.688 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003278/0.00433, allocations: 171.3 kB / 482.3 MB, free: 4.488 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.268e-05/0.004353, allocations: 51.41 kB / 482.4 MB, free: 4.426 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.173e-05/0.004394, allocations: 103.5 kB / 482.5 MB, free: 4.312 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.004406, allocations: 26.58 kB / 482.5 MB, free: 4.281 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.672e-05/0.004422, allocations: 80.14 kB / 482.6 MB, free: 4.199 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.004441, allocations: 11.89 kB / 482.6 MB, free: 4.188 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.004463, allocations: 22.77 kB / 482.6 MB, free: 4.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.379e-05/0.004527, allocations: 318.8 kB / 482.9 MB, free: 3.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.004535, allocations: 5.172 kB / 482.9 MB, free: 3.836 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.476e-05/0.004549, allocations: 17.66 kB / 483 MB, free: 3.812 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.582e-05/0.004575, allocations: 22.95 kB / 483 MB, free: 3.785 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.004577, allocations: 0 / 483 MB, free: 3.785 MB / 442.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.152e-05/0.004628, allocations: 46.88 kB / 483 MB, free: 3.734 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/0.004638, allocations: 4.766 kB / 483 MB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.004642, allocations: 0.625 kB / 483 MB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.004652, allocations: 0 / 483 MB, free: 3.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.394e-05/0.004686, allocations: 12.72 kB / 483 MB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004689, allocations: 0 / 483 MB, free: 3.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.073e-05/0.0047, allocations: 4.531 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.004705, allocations: 4.5 kB / 483.1 MB, free: 3.711 MB / 442.7 MB 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.345e-05/0.004748, allocations: 116.2 kB / 483.2 MB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.004761, allocations: 4 kB / 483.2 MB, free: 3.586 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.821e-05/0.004829, allocations: 54.16 kB / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.00483, allocations: 0 / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.004832, allocations: 0.75 kB / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.004834, allocations: 0 / 483.2 MB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.04e-05/0.004884, allocations: 73.81 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.31e-07/0.004885, allocations: 0.5312 kB / 483.3 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.711e-05/0.004912, allocations: 6.344 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.32e-07/0.004913, allocations: 0.7656 kB / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-06/0.004916, allocations: 0 / 483.3 MB, free: 3.438 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.004917, allocations: 4 kB / 483.3 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.004918, allocations: 0 / 483.3 MB, free: 3.434 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003156/0.005234, allocations: 80.94 kB / 483.4 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-06/0.005238, allocations: 1.688 kB / 483.4 MB, free: 3.336 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-06/0.005245, allocations: 4 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.274e-05/0.005257, allocations: 0.7656 kB / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.247e-06/0.005267, allocations: 0 / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.805e-06/0.005269, allocations: 0 / 483.4 MB, free: 3.332 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.355e-06/0.005278, allocations: 14.28 kB / 483.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.005278, allocations: 0 / 483.4 MB, free: 3.316 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001159/0.005394, allocations: 27.94 kB / 483.4 MB, free: 3.289 MB / 442.7 MB 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.0001156/0.005509, allocations: 109.7 kB / 483.5 MB, free: 3.176 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 4.732e-05/0.005557, allocations: 24.78 kB / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.005559, allocations: 0 / 483.6 MB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 8.235e-06/0.005567, allocations: 8.859 kB / 483.6 MB, free: 3.137 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.238e-05/0.005619, allocations: 9.875 kB / 483.6 MB, free: 3.129 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001455/0.005765, allocations: 98.61 kB / 483.7 MB, free: 3.008 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.32e-05/0.005788, allocations: 59.34 kB / 483.7 MB, free: 2.93 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.952e-05/0.005807, allocations: 5.344 kB / 483.7 MB, free: 2.926 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.551e-05/0.005843, allocations: 51.91 kB / 483.8 MB, free: 2.875 MB / 442.7 MB Notification: Performance of SimCode: time 2.71e-07/0.005843, allocations: 1.516 kB / 483.8 MB, free: 2.875 MB / 442.7 MB Notification: Performance of Templates: time 0.002175/0.008019, allocations: 1.027 MB / 484.8 MB, free: 1.91 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5905081229284406]