Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.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.001816/0.001816, allocations: 85.48 kB / 19.44 MB, free: 344 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.001934/0.001934, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.584/1.584, allocations: 177.1 MB / 203.1 MB, free: 5.559 MB / 186.7 MB " [Timeout remaining time 178] 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 1.341/1.341, allocations: 154.8 MB / 414.4 MB, free: 468 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 178] 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5199 GB, free: 2.312 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.542e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.309 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002602/0.002628, allocations: 1.465 MB / 0.5213 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.003433, allocations: 380 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003459, allocations: 0.875 kB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.003483, allocations: 3.938 kB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.77e-05/0.003531, allocations: 4.875 kB / 0.5217 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.003959, allocations: 121.2 kB / 0.5218 GB, free: 368 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 6.591e-05/0.004025, allocations: 23.92 kB / 0.5218 GB, free: 344 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.004099, allocations: 7.938 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.004157, allocations: 15.92 kB / 0.5218 GB, free: 320 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.28e-05/0.00419, allocations: 5.75 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.673e-05/0.004207, allocations: 4 kB / 0.5218 GB, free: 312 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.004606, allocations: 263.6 kB / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.004618, allocations: 0 / 0.5221 GB, free: 48 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.526e-05/0.004644, allocations: 12.69 kB / 0.5221 GB, free: 36 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.004919, allocations: 135.6 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.004922, allocations: 1.406 kB / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004923, allocations: 0 / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004926, allocations: 0 / 0.5222 GB, free: 15.9 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000495/0.005421, allocations: 392 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.417e-05/0.005456, allocations: 9.281 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.734e-05/0.005533, allocations: 4.938 kB / 0.5226 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.005643, allocations: 112.6 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005656, allocations: 6.438 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.005664, allocations: 384 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.005803, allocations: 50.17 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.00581, allocations: 192 / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.005818, allocations: 384 / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005824, allocations: 4.375 kB / 0.5228 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.005936, allocations: 25.86 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.006277, allocations: 255.8 kB / 0.523 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001073/0.006385, allocations: 39 kB / 0.5231 GB, free: 14.91 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.058e-05/0.006445, allocations: 24.23 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/0.006952, allocations: 78.8 kB / 0.5232 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.006984, allocations: 34.42 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.006985, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0002955/0.00728, allocations: 75.14 kB / 0.5233 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.007319, allocations: 51.41 kB / 0.5233 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007443, allocations: 165.9 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.108e-05/0.007464, allocations: 26.77 kB / 0.5235 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.028e-05/0.007544, allocations: 142.8 kB / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.387e-05/0.007558, allocations: 0 / 0.5237 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.414e-05/0.007602, allocations: 24.06 kB / 0.5237 GB, free: 14.24 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.007839, allocations: 496.1 kB / 0.5241 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.486e-05/0.007894, allocations: 13.28 kB / 0.5242 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.00794, allocations: 11.98 kB / 0.5242 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.463e-05/0.008035, allocations: 28.58 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.008036, allocations: 0.6875 kB / 0.5242 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001556/0.008192, allocations: 64.73 kB / 0.5243 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.008205, allocations: 9.719 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/0.008213, allocations: 7.922 kB / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.008225, allocations: 0 / 0.5243 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.008289, allocations: 11.92 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.008294, allocations: 0 / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.008326, allocations: 7.938 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.389e-06/0.008331, allocations: 0 / 0.5243 GB, free: 13.59 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 (2): * Single equations (assignments): 2 * 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.0001054/0.008436, allocations: 159.6 kB / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.234e-05/0.008478, allocations: 0 / 0.5245 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.008657, allocations: 69.23 kB / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.008658, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008661, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.155e-06/0.008663, allocations: 0 / 0.5245 GB, free: 13.35 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.008818, allocations: 126.1 kB / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.008819, allocations: 256 / 0.5246 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.454e-05/0.008863, allocations: 11.98 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.008865, allocations: 0 / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.00887, allocations: 4.469 kB / 0.5247 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.008882, allocations: 11.88 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008883, allocations: 0.9062 kB / 0.5247 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.009242, allocations: 200.4 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.611e-06/0.009248, allocations: 2.969 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.009262, allocations: 7.984 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.776e-05/0.00932, allocations: 3.938 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.009355, allocations: 4 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.009358, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.46e-05/0.009443, allocations: 131.2 kB / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.009443, allocations: 0 / 0.525 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002123/0.009655, allocations: 12 kB / 0.525 GB, free: 12.8 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 (2): * Single equations (assignments): 2 * 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.0001964/0.009851, allocations: 113.6 kB / 0.5251 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001623/0.01001, allocations: 39.59 kB / 0.5252 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01002, allocations: 0 / 0.5252 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.004e-05/0.01008, allocations: 21.12 kB / 0.5252 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.0103, allocations: 10.41 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.01059, allocations: 119.2 kB / 0.5253 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.01066, allocations: 59.34 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.27e-05/0.01068, allocations: 5.156 kB / 0.5254 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.01071, allocations: 8.5 kB / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01071, allocations: 0 / 0.5254 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.003663/0.01437, allocations: 0.757 MB / 0.5261 GB, free: 11.64 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.003143285983242]