Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007674/0.0007674, allocations: 81.05 kB / 9.981 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001715, allocations: 440 kB / 10.41 MB, free: 280 kB / 10.45 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.0006725/0.0006725, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008837/0.001556, allocations: 475.6 kB / 11.79 MB, free: 2.371 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.138, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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.8279/0.8279, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2791/1.107, allocations: 49.05 MB / 447.8 MB, free: 6.594 MB / 426.7 MB " [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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.153e-05, allocations: 4 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.001975/0.001997, allocations: 1.551 MB / 450.7 MB, free: 3.746 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004606/0.002457, allocations: 367.9 kB / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.512e-05/0.002482, allocations: 0 / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.031e-05/0.002503, allocations: 0 / 451.1 MB, free: 3.387 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.764e-05/0.00253, allocations: 6.625 kB / 451.1 MB, free: 3.383 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002277/0.002758, allocations: 93.77 kB / 451.2 MB, free: 3.293 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.208e-05/0.00284, allocations: 30.92 kB / 451.2 MB, free: 3.27 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.824e-05/0.002918, allocations: 8 kB / 451.2 MB, free: 3.262 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.043e-05/0.002989, allocations: 13.08 kB / 451.2 MB, free: 3.25 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.0032, allocations: 13.41 kB / 451.2 MB, free: 3.238 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.003216, allocations: 4.656 kB / 451.2 MB, free: 3.234 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003079/0.003524, allocations: 284.5 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.669e-05/0.003541, allocations: 1.859 kB / 451.5 MB, free: 2.957 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.003558, allocations: 8.656 kB / 451.5 MB, free: 2.949 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001829/0.003741, allocations: 107 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.003754, allocations: 0 / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.011e-06/0.003755, allocations: 0.75 kB / 451.6 MB, free: 2.848 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.00377, allocations: 0 / 451.6 MB, free: 2.848 MB / 426.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.0004195/0.00419, allocations: 272.8 kB / 451.9 MB, free: 2.559 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.004225, allocations: 8.031 kB / 451.9 MB, free: 2.551 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.555e-05/0.004321, allocations: 82.05 kB / 452 MB, free: 2.453 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.004422, allocations: 109.8 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.004431, allocations: 3.328 kB / 452.1 MB, free: 2.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.004444, allocations: 4.375 kB / 452.1 MB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.004559, allocations: 50.94 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.004571, allocations: 1.594 kB / 452.2 MB, free: 2.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.00458, allocations: 4.375 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.004586, allocations: 1.281 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.147e-05/0.004607, allocations: 7.875 kB / 452.2 MB, free: 2.246 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002092/0.004816, allocations: 153.4 kB / 452.3 MB, free: 2.082 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.786e-05/0.004864, allocations: 18.58 kB / 452.3 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.204e-05/0.004876, allocations: 5.516 kB / 452.3 MB, free: 2.047 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.005146, allocations: 79.41 kB / 452.4 MB, free: 1.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.005167, allocations: 34.56 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.005169, allocations: 0.7812 kB / 452.5 MB, free: 1.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001318/0.005301, allocations: 46.66 kB / 452.5 MB, free: 1.879 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.005327, allocations: 56.56 kB / 452.6 MB, free: 1.812 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.217e-05/0.005379, allocations: 106.7 kB / 452.7 MB, free: 1.695 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.00539, allocations: 25.7 kB / 452.7 MB, free: 1.664 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.031e-05/0.00542, allocations: 88.12 kB / 452.8 MB, free: 1.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.005438, allocations: 5.781 kB / 452.8 MB, free: 1.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.00546, allocations: 13.72 kB / 452.8 MB, free: 1.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.439e-05/0.005535, allocations: 316 kB / 453.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.005545, allocations: 4 kB / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.055e-06/0.005553, allocations: 0 / 453.1 MB, free: 1.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.642e-05/0.00558, allocations: 13.42 kB / 453.1 MB, free: 1.215 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005581, allocations: 5.594 kB / 453.1 MB, free: 1.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.121e-05/0.005642, allocations: 40.02 kB / 453.2 MB, free: 1.168 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005655, allocations: 4 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.00566, allocations: 0 / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.005673, allocations: 1.312 kB / 453.2 MB, free: 1.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.00574, allocations: 7.938 kB / 453.2 MB, free: 1.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.005744, allocations: 4.641 kB / 453.2 MB, free: 1.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.487e-05/0.005759, allocations: 4.906 kB / 453.2 MB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.005763, allocations: 0 / 453.2 MB, free: 1.148 MB / 426.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.458e-05/0.005818, allocations: 119.1 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.934e-05/0.005837, allocations: 4 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.386e-05/0.005911, allocations: 46.16 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.005913, allocations: 0.9844 kB / 453.3 MB, free: 0.9688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.005915, allocations: 4.812 kB / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.005918, allocations: 0 / 453.4 MB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.858e-05/0.005996, allocations: 65.89 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.005998, allocations: 4.906 kB / 453.4 MB, free: 0.8789 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.006022, allocations: 4 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.491e-06/0.006028, allocations: 4.609 kB / 453.4 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.006029, allocations: 0 / 453.4 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.006036, allocations: 8.625 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.006037, allocations: 1.172 kB / 453.4 MB, free: 0.8633 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.006039, allocations: 3.938 kB / 453.4 MB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.006119, allocations: 132.1 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.006126, allocations: 0.625 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.006154, allocations: 4.625 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.642e-05/0.00619, allocations: 1.766 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.006194, allocations: 0.5625 kB / 453.6 MB, free: 0.7109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 2.489e-05/0.006218, allocations: 24.77 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006218, allocations: 0.75 kB / 453.6 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001249/0.006343, allocations: 19.94 kB / 453.6 MB, free: 0.6641 MB / 426.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.0001388/0.006482, allocations: 90.19 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 6.3e-05/0.006545, allocations: 9.734 kB / 453.7 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.00655, allocations: 4.844 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.00657, allocations: 9.734 kB / 453.7 MB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.00673, allocations: 34.56 kB / 453.8 MB, free: 0.5039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000357/0.007087, allocations: 119.1 kB / 453.9 MB, free: 376 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.14e-05/0.007119, allocations: 55.36 kB / 453.9 MB, free: 300 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.856e-05/0.007137, allocations: 3.984 kB / 453.9 MB, free: 296 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.00718, allocations: 51.38 kB / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.007181, allocations: 0 / 454 MB, free: 244 kB / 426.7 MB Notification: Performance of Templates: time 0.002406/0.009587, allocations: 0.7228 MB / 454.7 MB, free: 15.55 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5765804070979357]