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.001575/0.001575, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001853/0.001853, allocations: 173 kB / 24.06 MB, free: 452 kB / 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 1.114/1.114, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7881/0.7881, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.402e-06/1.402e-06, allocations: 0 / 0.5216 GB, free: 1.793 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.168e-05/2.308e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001635/0.001658, allocations: 0.6127 MB / 0.5222 GB, free: 1.195 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.002281, allocations: 306.8 kB / 0.5225 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.577e-05/0.002306, allocations: 1.625 kB / 0.5225 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.605e-05/0.002322, allocations: 3.938 kB / 0.5225 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.257e-05/0.002345, allocations: 0 / 0.5225 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004412/0.002786, allocations: 112.4 kB / 0.5226 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.069e-05/0.002837, allocations: 13.23 kB / 0.5226 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.002882, allocations: 0 / 0.5226 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.002915, allocations: 11.92 kB / 0.5226 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.002969, allocations: 1.344 kB / 0.5226 GB, free: 0.7578 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.002983, allocations: 4 kB / 0.5226 GB, free: 0.7539 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003519/0.003335, allocations: 255.6 kB / 0.5229 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.786e-05/0.003353, allocations: 8.766 kB / 0.5229 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.353e-05/0.003366, allocations: 3.984 kB / 0.5229 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.003563, allocations: 115.7 kB / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003565, allocations: 1.531 kB / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.003566, allocations: 0 / 0.523 GB, free: 388 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.127e-06/0.00357, allocations: 0 / 0.523 GB, free: 388 kB / 490.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.0003338/0.003904, allocations: 376.1 kB / 0.5234 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.00394, allocations: 10.41 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/0.004005, allocations: 0.9375 kB / 0.5234 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.769e-05/0.004093, allocations: 113 kB / 0.5235 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.004104, allocations: 4.312 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.004123, allocations: 8.328 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.268e-05/0.004205, allocations: 60.47 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.114e-06/0.004212, allocations: 1.656 kB / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.004219, allocations: 384 / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.004224, allocations: 384 / 0.5235 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.309e-05/0.004237, allocations: 11.86 kB / 0.5236 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001161/0.004353, allocations: 98.23 kB / 0.5237 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.452e-05/0.004398, allocations: 27.09 kB / 0.5237 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.513e-05/0.004413, allocations: 16.72 kB / 0.5237 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.004801, allocations: 78.48 kB / 0.5238 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.004826, allocations: 41.38 kB / 0.5238 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004827, allocations: 1.219 kB / 0.5238 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003823/0.00521, allocations: 186.4 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.005239, allocations: 57.16 kB / 0.524 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.743e-05/0.005306, allocations: 149.9 kB / 0.5242 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.005318, allocations: 29.7 kB / 0.5242 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.005357, allocations: 126.9 kB / 0.5243 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.578e-05/0.005382, allocations: 17.56 kB / 0.5244 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.005418, allocations: 27.34 kB / 0.5244 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.005552, allocations: 496.1 kB / 0.5248 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.044e-05/0.005563, allocations: 4 kB / 0.5249 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.199e-05/0.005585, allocations: 19.38 kB / 0.5249 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.135e-05/0.005626, allocations: 32.86 kB / 0.5249 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.91e-07/0.005627, allocations: 0 / 0.5249 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.664e-05/0.005724, allocations: 48.11 kB / 0.5249 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.005736, allocations: 4 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.005741, allocations: 0 / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.005751, allocations: 4 kB / 0.525 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.548e-05/0.005797, allocations: 7.984 kB / 0.525 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.0058, allocations: 0 / 0.525 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.005819, allocations: 14.62 kB / 0.525 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.005824, allocations: 4 kB / 0.525 GB, free: 14.12 MB / 0.4948 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 7.059e-05/0.005895, allocations: 156.6 kB / 0.5251 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.005918, allocations: 7.938 kB / 0.5251 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.006021, allocations: 53.36 kB / 0.5252 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.006023, allocations: 1.188 kB / 0.5252 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.006024, allocations: 0 / 0.5252 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.006027, allocations: 0 / 0.5252 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.675e-05/0.006104, allocations: 102.2 kB / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006105, allocations: 0 / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.006146, allocations: 4 kB / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.006149, allocations: 1.812 kB / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-06/0.006153, allocations: 0 / 0.5253 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.006157, allocations: 7.984 kB / 0.5253 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.006159, allocations: 3.938 kB / 0.5253 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.006279, allocations: 88.33 kB / 0.5254 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.649e-06/0.006283, allocations: 0.6562 kB / 0.5254 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.006292, allocations: 0.6562 kB / 0.5254 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.006316, allocations: 4 kB / 0.5254 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.006331, allocations: 8.641 kB / 0.5254 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.006335, allocations: 0 / 0.5254 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.537e-05/0.006371, allocations: 120.3 kB / 0.5255 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006371, allocations: 4 kB / 0.5255 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002227/0.006594, allocations: 22.38 kB / 0.5255 GB, free: 13.48 MB / 0.4948 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.0001851/0.006779, allocations: 131.2 kB / 0.5257 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 8.437e-05/0.006863, allocations: 23.61 kB / 0.5257 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.006868, allocations: 4 kB / 0.5257 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.707e-05/0.006885, allocations: 14.78 kB / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.007033, allocations: 5.656 kB / 0.5257 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002374/0.00727, allocations: 110.3 kB / 0.5258 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.477e-05/0.007305, allocations: 59.34 kB / 0.5259 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.313e-05/0.007338, allocations: 4.312 kB / 0.5259 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.318e-05/0.007391, allocations: 74.2 kB / 0.526 GB, free: 13 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/0.007392, allocations: 5.438 kB / 0.526 GB, free: 13 MB / 0.4948 GB Notification: Performance of Templates: time 0.00255/0.009943, allocations: 1.027 MB / 0.527 GB, free: 12.03 MB / 0.4948 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=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8701995159499347]