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.001005/0.001005, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001211/0.001211, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9945/0.9945, allocations: 177.2 MB / 203.4 MB, free: 5.633 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.8254/0.8254, allocations: 154.6 MB / 414.5 MB, free: 0.6719 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.994e-06/1.994e-06, allocations: 0.5469 kB / 0.5204 GB, free: 2.148 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.639e-05, allocations: 6.953 kB / 0.5204 GB, free: 2.145 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002019/0.002055, allocations: 0.6118 MB / 0.521 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007197/0.002775, allocations: 313.7 kB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.424e-05/0.002809, allocations: 0.625 kB / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.002837, allocations: 0 / 0.5213 GB, free: 1.246 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.109e-05/0.002868, allocations: 5.375 kB / 0.5213 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.003436, allocations: 108.2 kB / 0.5214 GB, free: 1.137 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.989e-05/0.003506, allocations: 17.38 kB / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.003547, allocations: 0 / 0.5214 GB, free: 1.121 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.096e-05/0.003588, allocations: 11.97 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.00365, allocations: 0.6875 kB / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.003668, allocations: 0 / 0.5214 GB, free: 1.109 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003882/0.004057, allocations: 264.8 kB / 0.5217 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.597e-05/0.004073, allocations: 0 / 0.5217 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.004097, allocations: 7.984 kB / 0.5217 GB, free: 0.8438 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002404/0.004337, allocations: 119.7 kB / 0.5218 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.004341, allocations: 0.75 kB / 0.5218 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004342, allocations: 0 / 0.5218 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.004347, allocations: 0.5625 kB / 0.5218 GB, free: 0.7266 MB / 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.0004342/0.004782, allocations: 369 kB / 0.5221 GB, free: 336 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.004834, allocations: 12.03 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.004943, allocations: 0.9375 kB / 0.5222 GB, free: 324 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.005053, allocations: 113.9 kB / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.005066, allocations: 384 / 0.5223 GB, free: 184 kB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.00509, allocations: 6.922 kB / 0.5223 GB, free: 180 kB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.005202, allocations: 63.91 kB / 0.5223 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.005211, allocations: 192 / 0.5223 GB, free: 104 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.005221, allocations: 4.375 kB / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.00523, allocations: 384 / 0.5223 GB, free: 100 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.328e-05/0.005253, allocations: 7.922 kB / 0.5223 GB, free: 92 kB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.005427, allocations: 114.2 kB / 0.5225 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.78e-05/0.005484, allocations: 27.09 kB / 0.5225 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.137e-05/0.005506, allocations: 15.75 kB / 0.5225 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004518/0.005958, allocations: 82.61 kB / 0.5226 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.005988, allocations: 41.89 kB / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.00599, allocations: 0 / 0.5226 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0005965/0.006586, allocations: 180.4 kB / 0.5228 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.006629, allocations: 51.41 kB / 0.5228 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.006721, allocations: 161.9 kB / 0.523 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.006736, allocations: 25.7 kB / 0.523 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.006782, allocations: 128.1 kB / 0.5231 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.978e-05/0.006812, allocations: 11.84 kB / 0.5232 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.006851, allocations: 31.3 kB / 0.5232 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.007006, allocations: 496.8 kB / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.007025, allocations: 0 / 0.5237 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.36e-05/0.007058, allocations: 36.64 kB / 0.5237 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.431e-05/0.007113, allocations: 31.31 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.007114, allocations: 0.8438 kB / 0.5237 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.007233, allocations: 48.45 kB / 0.5238 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.007252, allocations: 7.984 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007258, allocations: 0 / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.007277, allocations: 4 kB / 0.5238 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.034e-05/0.007358, allocations: 11.94 kB / 0.5238 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.007368, allocations: 3.938 kB / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.765e-05/0.007386, allocations: 0 / 0.5238 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.007397, allocations: 6.812 kB / 0.5238 GB, free: 14.44 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 0.0001033/0.0075, allocations: 152.6 kB / 0.5239 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.007533, allocations: 7.953 kB / 0.524 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000145/0.007678, allocations: 57.36 kB / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.00768, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.007684, allocations: 0 / 0.524 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.007689, allocations: 5.312 kB / 0.524 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.76e-05/0.007787, allocations: 112.6 kB / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.007789, allocations: 0 / 0.5241 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.111e-05/0.00785, allocations: 12.52 kB / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007853, allocations: 0 / 0.5241 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.007864, allocations: 7.375 kB / 0.5241 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.007867, allocations: 0 / 0.5241 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.007869, allocations: 0 / 0.5241 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.008029, allocations: 88.38 kB / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-06/0.008036, allocations: 0 / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.008052, allocations: 0 / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.743e-05/0.008079, allocations: 7.984 kB / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.763e-05/0.008097, allocations: 0 / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.008102, allocations: 0 / 0.5242 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.848e-05/0.008141, allocations: 129.6 kB / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.008141, allocations: 0 / 0.5244 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002432/0.008384, allocations: 27.94 kB / 0.5244 GB, free: 13.77 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.0002276/0.008612, allocations: 127 kB / 0.5245 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 9.638e-05/0.008708, allocations: 24.58 kB / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.00871, allocations: 0 / 0.5245 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.84e-05/0.008728, allocations: 16.81 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.008879, allocations: 4 kB / 0.5245 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.009197, allocations: 114.3 kB / 0.5247 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.009236, allocations: 56.27 kB / 0.5247 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.891e-05/0.009275, allocations: 10.14 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.009302, allocations: 8.5 kB / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.009302, allocations: 0 / 0.5247 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.003978/0.01328, allocations: 1.013 MB / 0.5257 GB, free: 12.41 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.8626395878382027]