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.001482/0.001482, allocations: 77.09 kB / 20.66 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.001719/0.001719, allocations: 169 kB / 24.06 MB, free: 456 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.027/1.027, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.9012/0.9012, allocations: 154.9 MB / 415.9 MB, free: 260 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.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.603e-06/1.603e-06, allocations: 0 / 0.5219 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.82e-05, allocations: 5.703 kB / 0.5219 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.002839/0.002867, allocations: 1.491 MB / 0.5233 GB, free: 48 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007147/0.003582, allocations: 377.9 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.202e-05/0.003624, allocations: 0.8438 kB / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.003655, allocations: 0 / 0.5237 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.431e-05/0.003709, allocations: 10.09 kB / 0.5237 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.004199, allocations: 115.6 kB / 0.5238 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 7.208e-05/0.004271, allocations: 19.94 kB / 0.5238 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.717e-05/0.004358, allocations: 9.016 kB / 0.5239 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.919e-05/0.004418, allocations: 8 kB / 0.5239 GB, free: 15.52 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.004467, allocations: 17.3 kB / 0.5239 GB, free: 15.51 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.049e-05/0.004488, allocations: 4 kB / 0.5239 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.00489, allocations: 263.6 kB / 0.5241 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.00491, allocations: 4 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.004929, allocations: 4.75 kB / 0.5241 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.005168, allocations: 127.7 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.005171, allocations: 0.8125 kB / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005172, allocations: 0 / 0.5243 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.005178, allocations: 5 kB / 0.5243 GB, free: 15.11 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.0006257/0.005804, allocations: 384.3 kB / 0.5246 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.005845, allocations: 8.781 kB / 0.5246 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.244e-05/0.005917, allocations: 4.938 kB / 0.5247 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.354e-05/0.006011, allocations: 117.1 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.006023, allocations: 384 / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-06/0.00603, allocations: 1.312 kB / 0.5248 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006154, allocations: 58.94 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.006162, allocations: 0.7188 kB / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.00617, allocations: 384 / 0.5248 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.006177, allocations: 5.062 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.41e-05/0.006201, allocations: 3.938 kB / 0.5248 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.006456, allocations: 233.1 kB / 0.5251 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.00651, allocations: 31.75 kB / 0.5251 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.928e-05/0.006529, allocations: 12.81 kB / 0.5251 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003651/0.006894, allocations: 79.39 kB / 0.5252 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.639e-05/0.006921, allocations: 33.39 kB / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.923e-06/0.006923, allocations: 0 / 0.5252 GB, free: 14.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000176/0.007099, allocations: 49.56 kB / 0.5253 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.00713, allocations: 56.16 kB / 0.5253 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.007209, allocations: 158.1 kB / 0.5255 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.4e-05/0.007223, allocations: 31.09 kB / 0.5255 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.117e-05/0.007274, allocations: 134.8 kB / 0.5256 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-05/0.007297, allocations: 11.83 kB / 0.5256 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/0.007335, allocations: 27.36 kB / 0.5257 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.007471, allocations: 493.4 kB / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.176e-05/0.007482, allocations: 0 / 0.5261 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.502e-05/0.007497, allocations: 12.05 kB / 0.5261 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.007528, allocations: 12.72 kB / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00753, allocations: 0 / 0.5261 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.078e-05/0.00762, allocations: 38.8 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007635, allocations: 8 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.00764, allocations: 3.219 kB / 0.5262 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.009e-05/0.00765, allocations: 3.938 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.751e-05/0.007707, allocations: 7.984 kB / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.00771, allocations: 0 / 0.5262 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.007732, allocations: 4 kB / 0.5262 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.007738, allocations: 4 kB / 0.5262 GB, free: 12.94 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 7.543e-05/0.007814, allocations: 152.6 kB / 0.5264 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.007856, allocations: 7.984 kB / 0.5264 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.515e-05/0.007951, allocations: 52.3 kB / 0.5264 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.586e-06/0.007955, allocations: 3.938 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.007957, allocations: 3.938 kB / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.007959, allocations: 0 / 0.5264 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.008083, allocations: 101.2 kB / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.008085, allocations: 0 / 0.5265 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.442e-05/0.008119, allocations: 8 kB / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.008122, allocations: 1.5 kB / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.668e-06/0.008127, allocations: 0 / 0.5265 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.008129, allocations: 3.984 kB / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.00813, allocations: 0 / 0.5265 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.00827, allocations: 189.3 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-06/0.008278, allocations: 4 kB / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.008288, allocations: 0 / 0.5267 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.008342, allocations: 7.984 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.00837, allocations: 1.281 kB / 0.5267 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.008377, allocations: 7.938 kB / 0.5267 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.583e-05/0.008423, allocations: 131.2 kB / 0.5269 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.008423, allocations: 4.594 kB / 0.5269 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002551/0.008678, allocations: 19.88 kB / 0.5269 GB, free: 12.2 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.0001648/0.008843, allocations: 108.4 kB / 0.527 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 7.482e-05/0.008918, allocations: 18.52 kB / 0.527 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.00892, allocations: 0 / 0.527 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.008941, allocations: 15.67 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/0.009238, allocations: 6.344 kB / 0.527 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002625/0.009501, allocations: 116.7 kB / 0.5271 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.965e-05/0.00954, allocations: 59.23 kB / 0.5272 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.383e-05/0.009564, allocations: 7.984 kB / 0.5272 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.009613, allocations: 66.2 kB / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of SimCode: time 7.51e-07/0.009613, allocations: 0 / 0.5273 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of Templates: time 0.002943/0.01256, allocations: 0.8484 MB / 0.5281 GB, free: 10.93 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: 3.86971209384501]