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.0009814/0.0009814, allocations: 82.05 kB / 19.87 MB, free: 4.621 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.001168/0.001168, allocations: 170 kB / 23.28 MB, free: 1.223 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 1.09/1.09, allocations: 177.1 MB / 203.7 MB, free: 5.504 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.8039/0.8039, allocations: 154.6 MB / 414.8 MB, free: 0.5508 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.904e-06/1.904e-06, allocations: 0 / 0.5208 GB, free: 1.879 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.797e-05, allocations: 2.312 kB / 0.5208 GB, free: 1.875 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001491/0.001509, allocations: 0.6225 MB / 0.5214 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006338/0.002143, allocations: 310.9 kB / 0.5217 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.002171, allocations: 1.469 kB / 0.5217 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.785e-05/0.002189, allocations: 3.938 kB / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 2.283e-05/0.002212, allocations: 0 / 0.5217 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.002664, allocations: 109.8 kB / 0.5218 GB, free: 0.8594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.113e-05/0.002715, allocations: 11.92 kB / 0.5218 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.002751, allocations: 7.984 kB / 0.5218 GB, free: 0.8398 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.241e-05/0.002784, allocations: 5.344 kB / 0.5219 GB, free: 0.8359 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.633e-05/0.00284, allocations: 4 kB / 0.5219 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.002854, allocations: 0 / 0.5219 GB, free: 0.832 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003622/0.003216, allocations: 259.6 kB / 0.5221 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.003231, allocations: 4.641 kB / 0.5221 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.003253, allocations: 8 kB / 0.5221 GB, free: 0.5664 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.003451, allocations: 118.9 kB / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003453, allocations: 0 / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003454, allocations: 0 / 0.5222 GB, free: 464 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.003457, allocations: 0 / 0.5222 GB, free: 464 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.0002933/0.003751, allocations: 376.1 kB / 0.5226 GB, free: 48 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.003793, allocations: 8.031 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.00385, allocations: 4.938 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.003939, allocations: 109 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.806e-06/0.003948, allocations: 0.9375 kB / 0.5227 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.654e-05/0.003965, allocations: 8.328 kB / 0.5227 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.239e-05/0.004047, allocations: 60.58 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004054, allocations: 1 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-06/0.00406, allocations: 384 / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.004065, allocations: 1.844 kB / 0.5228 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.264e-05/0.004077, allocations: 15.86 kB / 0.5228 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.004189, allocations: 93.27 kB / 0.5229 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/0.004228, allocations: 32.03 kB / 0.5229 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.58e-05/0.004244, allocations: 15.67 kB / 0.5229 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003703/0.004614, allocations: 78.55 kB / 0.523 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.004644, allocations: 38.2 kB / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.004645, allocations: 0 / 0.523 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3): time 0.0003713/0.005016, allocations: 179 kB / 0.5232 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.005043, allocations: 56.69 kB / 0.5233 GB, free: 15.23 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.655e-05/0.005109, allocations: 153.9 kB / 0.5234 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.005121, allocations: 29.7 kB / 0.5234 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.005163, allocations: 129.7 kB / 0.5236 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.005186, allocations: 19.83 kB / 0.5236 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.005218, allocations: 23.36 kB / 0.5236 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.005346, allocations: 496.1 kB / 0.5241 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.005356, allocations: 7.938 kB / 0.5241 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.571e-05/0.005382, allocations: 27.36 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.729e-05/0.005419, allocations: 26.12 kB / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.00542, allocations: 0 / 0.5241 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.246e-05/0.005512, allocations: 53.62 kB / 0.5242 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.005524, allocations: 5.406 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.005528, allocations: 0 / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.005539, allocations: 0 / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/0.005585, allocations: 8.875 kB / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005588, allocations: 0 / 0.5242 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.722e-05/0.005605, allocations: 8.906 kB / 0.5242 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.005612, allocations: 4 kB / 0.5242 GB, free: 14.2 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.822e-05/0.00569, allocations: 161.4 kB / 0.5244 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.005712, allocations: 4 kB / 0.5244 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.764e-05/0.005809, allocations: 55.36 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005811, allocations: 0 / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.005812, allocations: 4 kB / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005815, allocations: 0 / 0.5244 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.906e-05/0.005894, allocations: 99.64 kB / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.005895, allocations: 0 / 0.5245 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.819e-05/0.005933, allocations: 7.984 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.005935, allocations: 0 / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.005939, allocations: 0 / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.005941, allocations: 3.984 kB / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.005942, allocations: 0 / 0.5245 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001185/0.006061, allocations: 95.05 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.006067, allocations: 4 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-06/0.006076, allocations: 0 / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.302e-05/0.006099, allocations: 3.984 kB / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.181e-05/0.006111, allocations: 240 / 0.5246 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.006116, allocations: 4 kB / 0.5246 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.794e-05/0.006154, allocations: 123.2 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006154, allocations: 0.7812 kB / 0.5248 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002289/0.006383, allocations: 23.94 kB / 0.5248 GB, free: 13.56 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.0001538/0.006537, allocations: 132.3 kB / 0.5249 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 6.967e-05/0.006606, allocations: 31.12 kB / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.006608, allocations: 0 / 0.5249 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.006625, allocations: 15.69 kB / 0.5249 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001278/0.006752, allocations: 7.938 kB / 0.525 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001922/0.006945, allocations: 114.3 kB / 0.5251 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.957e-05/0.006974, allocations: 51.36 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.007002, allocations: 7.5 kB / 0.5251 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.603e-05/0.007048, allocations: 70.2 kB / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of SimCode: time 5.72e-07/0.007048, allocations: 0 / 0.5252 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of Templates: time 0.002947/0.009995, allocations: 1.035 MB / 0.5262 GB, free: 12.1 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.7373756975866854]