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.001062/0.001062, allocations: 92.22 kB / 19.65 MB, free: 276 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.001172/0.001172, allocations: 169 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 1.017/1.017, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.7699/0.7699, allocations: 154.8 MB / 414.7 MB, free: 496 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.373e-06/1.373e-06, allocations: 0 / 0.5205 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.594e-05/1.731e-05, allocations: 8.188 kB / 0.5206 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001715/0.001732, allocations: 1.501 MB / 0.522 GB, free: 15.35 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005185/0.002251, allocations: 367.1 kB / 0.5224 GB, free: 15 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.002284, allocations: 4.906 kB / 0.5224 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 2.811e-05/0.002312, allocations: 0 / 0.5224 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.002351, allocations: 4.938 kB / 0.5224 GB, free: 14.99 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.002807, allocations: 116.6 kB / 0.5225 GB, free: 14.88 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.002865, allocations: 33 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.002942, allocations: 4 kB / 0.5225 GB, free: 14.84 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.488e-05/0.002987, allocations: 11.98 kB / 0.5225 GB, free: 14.83 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.068e-05/0.003017, allocations: 12.58 kB / 0.5226 GB, free: 14.82 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.003032, allocations: 4 kB / 0.5226 GB, free: 14.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002524/0.003284, allocations: 256.2 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 1.237e-05/0.003297, allocations: 0.5 kB / 0.5228 GB, free: 14.56 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.003316, allocations: 15.92 kB / 0.5228 GB, free: 14.55 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.003491, allocations: 132.6 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.003492, allocations: 0 / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.003493, allocations: 1.219 kB / 0.5229 GB, free: 14.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.437e-06/0.003496, allocations: 0 / 0.5229 GB, free: 14.42 MB / 458.7 MB 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.000325/0.003821, allocations: 384.3 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.003855, allocations: 9.812 kB / 0.5233 GB, free: 14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.003924, allocations: 4.938 kB / 0.5233 GB, free: 13.99 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.458e-05/0.003999, allocations: 116.6 kB / 0.5234 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.004008, allocations: 384 / 0.5234 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.968e-06/0.004018, allocations: 384 / 0.5234 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.004122, allocations: 60.7 kB / 0.5235 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.004131, allocations: 192 / 0.5235 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.004138, allocations: 384 / 0.5235 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.228e-05/0.00415, allocations: 4.375 kB / 0.5235 GB, free: 13.78 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.834e-05/0.004179, allocations: 15.84 kB / 0.5235 GB, free: 13.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002386/0.004417, allocations: 249.5 kB / 0.5238 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.00446, allocations: 27.06 kB / 0.5238 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.863e-05/0.004479, allocations: 11.67 kB / 0.5238 GB, free: 13.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.004769, allocations: 83.55 kB / 0.5239 GB, free: 13.36 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.004788, allocations: 33.39 kB / 0.5239 GB, free: 13.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.004789, allocations: 3.938 kB / 0.5239 GB, free: 13.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.004936, allocations: 46.67 kB / 0.5239 GB, free: 13.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.004959, allocations: 51.41 kB / 0.524 GB, free: 13.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.555e-05/0.005024, allocations: 169 kB / 0.5242 GB, free: 13.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.005032, allocations: 25.7 kB / 0.5242 GB, free: 12.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.862e-05/0.00507, allocations: 130.9 kB / 0.5243 GB, free: 12.85 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.005089, allocations: 15.94 kB / 0.5243 GB, free: 12.84 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.005118, allocations: 15.38 kB / 0.5243 GB, free: 12.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.005227, allocations: 496.1 kB / 0.5248 GB, free: 12.32 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.286e-05/0.00524, allocations: 4 kB / 0.5248 GB, free: 12.31 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.253e-05/0.005253, allocations: 8.625 kB / 0.5248 GB, free: 12.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.7e-05/0.00528, allocations: 16.19 kB / 0.5248 GB, free: 12.29 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.005281, allocations: 0.875 kB / 0.5248 GB, free: 12.29 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.951e-05/0.005341, allocations: 45.64 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.005353, allocations: 9.531 kB / 0.5249 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.005358, allocations: 3.938 kB / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.005371, allocations: 0 / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.005423, allocations: 4 kB / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.005427, allocations: 0.9375 kB / 0.5249 GB, free: 12.22 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.005444, allocations: 7.984 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-06/0.005447, allocations: 0.9375 kB / 0.5249 GB, free: 12.21 MB / 458.7 MB 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 5.47e-05/0.005502, allocations: 156.5 kB / 0.5251 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.067e-05/0.005523, allocations: 7.031 kB / 0.5251 GB, free: 12.04 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.409e-05/0.005597, allocations: 53.19 kB / 0.5251 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.005598, allocations: 3.938 kB / 0.5251 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005601, allocations: 0 / 0.5251 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.005603, allocations: 0 / 0.5251 GB, free: 11.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.439e-05/0.005688, allocations: 120.6 kB / 0.5252 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.005689, allocations: 0 / 0.5252 GB, free: 11.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/0.005707, allocations: 4 kB / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.005708, allocations: 2.75 kB / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.005714, allocations: 0 / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.005716, allocations: 3.938 kB / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.005717, allocations: 3.984 kB / 0.5252 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.24e-05/0.00581, allocations: 191.8 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.005817, allocations: 4 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.005826, allocations: 0.5 kB / 0.5254 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.358e-05/0.005859, allocations: 7.922 kB / 0.5254 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.008e-05/0.005889, allocations: 5.312 kB / 0.5254 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.005891, allocations: 0 / 0.5254 GB, free: 11.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.005926, allocations: 135.2 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005926, allocations: 0.5312 kB / 0.5256 GB, free: 11.46 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001481/0.006074, allocations: 12 kB / 0.5256 GB, free: 11.45 MB / 458.7 MB 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.000111/0.006185, allocations: 109.5 kB / 0.5257 GB, free: 11.34 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 7.207e-05/0.006257, allocations: 19.67 kB / 0.5257 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006258, allocations: 0 / 0.5257 GB, free: 11.31 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 1.865e-05/0.006277, allocations: 22.06 kB / 0.5257 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.00644, allocations: 0 / 0.5257 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002154/0.006655, allocations: 114.4 kB / 0.5258 GB, free: 11.15 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.006945, allocations: 55.36 kB / 0.5259 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 1.533e-05/0.00696, allocations: 6.391 kB / 0.5259 GB, free: 11.07 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.1e-05/0.006981, allocations: 12.5 kB / 0.5259 GB, free: 11.06 MB / 458.7 MB Notification: Performance of SimCode: time 5.01e-07/0.006982, allocations: 0 / 0.5259 GB, free: 11.06 MB / 458.7 MB Notification: Performance of Templates: time 0.002155/0.009137, allocations: 0.7597 MB / 0.5267 GB, free: 10.33 MB / 458.7 MB " [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.890014967881143]