Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.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.0009166/0.0009166, allocations: 81.17 kB / 19.87 MB, free: 4.617 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.0009352/0.0009352, allocations: 173 kB / 23.28 MB, free: 1.219 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.9654/0.9654, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8544/0.8544, allocations: 154.9 MB / 415.1 MB, free: 268 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.3e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001293/0.001316, allocations: 0.6009 MB / 0.5218 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006167/0.001932, allocations: 299 kB / 0.522 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.019e-05/0.001952, allocations: 0 / 0.522 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.001968, allocations: 1.469 kB / 0.5221 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.782e-06/0.001975, allocations: 0 / 0.5221 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.002354, allocations: 104.3 kB / 0.5221 GB, free: 500 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 3.597e-05/0.00239, allocations: 8.5 kB / 0.5222 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.459e-05/0.002424, allocations: 3.984 kB / 0.5222 GB, free: 488 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.314e-05/0.002467, allocations: 1.969 kB / 0.5222 GB, free: 488 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.939e-05/0.002497, allocations: 4 kB / 0.5222 GB, free: 484 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.00251, allocations: 0 / 0.5222 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002779/0.002788, allocations: 247.7 kB / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.218e-05/0.0028, allocations: 0 / 0.5224 GB, free: 236 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.002812, allocations: 12.42 kB / 0.5224 GB, free: 224 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.002959, allocations: 112.4 kB / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002961, allocations: 0 / 0.5225 GB, free: 112 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.002962, allocations: 4.562 kB / 0.5225 GB, free: 108 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.002966, allocations: 0 / 0.5225 GB, free: 108 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002439/0.00321, allocations: 357.6 kB / 0.5229 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.003248, allocations: 8.031 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.315e-05/0.003311, allocations: 4.938 kB / 0.5229 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.761e-05/0.003369, allocations: 108.6 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.003378, allocations: 1.156 kB / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.003388, allocations: 384 / 0.523 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.849e-05/0.003456, allocations: 39.12 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.003463, allocations: 192 / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.003468, allocations: 3.344 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.003474, allocations: 384 / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.017e-05/0.003484, allocations: 3.938 kB / 0.523 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.859e-05/0.003572, allocations: 93.27 kB / 0.5231 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.221e-05/0.003605, allocations: 23.06 kB / 0.5231 GB, free: 15.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.003619, allocations: 15.78 kB / 0.5232 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.003856, allocations: 49.78 kB / 0.5232 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.00388, allocations: 41.33 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/0.003881, allocations: 0.9688 kB / 0.5232 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1): time 0.0001225/0.004004, allocations: 33.7 kB / 0.5233 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.004029, allocations: 52.38 kB / 0.5233 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.749e-05/0.004067, allocations: 146.2 kB / 0.5235 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.004074, allocations: 26.64 kB / 0.5235 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.003e-05/0.004104, allocations: 130.8 kB / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.004132, allocations: 0 / 0.5236 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.088e-05/0.004153, allocations: 16.16 kB / 0.5236 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.004274, allocations: 0.4922 MB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-06/0.004282, allocations: 0.9375 kB / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.109e-06/0.004288, allocations: 0 / 0.5241 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.535e-05/0.004313, allocations: 16.84 kB / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.004319, allocations: 0 / 0.5241 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.925e-05/0.004378, allocations: 38.67 kB / 0.5242 GB, free: 14.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.00439, allocations: 8 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.004394, allocations: 1.812 kB / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.004406, allocations: 0 / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.399e-05/0.00444, allocations: 0 / 0.5242 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.336e-06/0.004443, allocations: 4 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.286e-06/0.004451, allocations: 3.984 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.047e-06/0.004455, allocations: 1.531 kB / 0.5242 GB, free: 14.23 MB / 0.4948 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 (1): * Single equations (assignments): 1 * 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 6.21e-05/0.004517, allocations: 156.5 kB / 0.5243 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.004531, allocations: 7.953 kB / 0.5243 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.44e-05/0.004595, allocations: 42.44 kB / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.004598, allocations: 0 / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.0046, allocations: 0 / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.004603, allocations: 0 / 0.5244 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.849e-05/0.004661, allocations: 99.06 kB / 0.5245 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.004662, allocations: 4 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.472e-06/0.004669, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.00467, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-06/0.004674, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.004674, allocations: 2.75 kB / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.004675, allocations: 0 / 0.5245 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.698e-05/0.004732, allocations: 80.31 kB / 0.5246 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-06/0.004736, allocations: 7.984 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-06/0.004742, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.647e-06/0.004746, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.004757, allocations: 0 / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.004759, allocations: 1.781 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.131e-05/0.004791, allocations: 119.2 kB / 0.5247 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.004791, allocations: 3.938 kB / 0.5247 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001263/0.004917, allocations: 15.94 kB / 0.5247 GB, free: 13.64 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0001287/0.005046, allocations: 113.6 kB / 0.5248 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.156e-05/0.005097, allocations: 15.69 kB / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.005098, allocations: 0 / 0.5248 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.727e-06/0.005107, allocations: 15.62 kB / 0.5248 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.693e-05/0.005194, allocations: 8.812 kB / 0.5248 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001467/0.005341, allocations: 87.92 kB / 0.5249 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.839e-05/0.005369, allocations: 56.02 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.497e-05/0.005384, allocations: 0.5625 kB / 0.525 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.005413, allocations: 69.2 kB / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of SimCode: time 3.51e-07/0.005414, allocations: 0 / 0.5251 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of Templates: time 0.001937/0.007351, allocations: 0.5419 MB / 0.5256 GB, free: 12.7 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.550356167368591]