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.000892/0.000892, allocations: 80.81 kB / 19.94 MB, free: 4.543 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.001021/0.001021, allocations: 177 kB / 23.36 MB, free: 1.129 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.9371/0.9371, allocations: 177.2 MB / 203.8 MB, free: 5.477 MB / 186.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.8109/0.8109, allocations: 154.6 MB / 414.8 MB, free: 500 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. " [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 2.044e-06/2.044e-06, allocations: 0.6562 kB / 480 MB, free: 6.895 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.965e-05, allocations: 6.969 kB / 480 MB, free: 6.891 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.RegNonZeroPower): time 0.003093/0.003123, allocations: 1.499 MB / 481.5 MB, free: 5.414 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000792/0.003915, allocations: 375.7 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.491e-05/0.00396, allocations: 1.172 kB / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.00399, allocations: 0 / 481.9 MB, free: 5.051 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.004059, allocations: 9 kB / 481.9 MB, free: 5.047 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005448/0.004604, allocations: 112.6 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.00469, allocations: 29.64 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.004786, allocations: 7.969 kB / 482 MB, free: 4.906 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.004853, allocations: 12.98 kB / 482 MB, free: 4.895 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.235e-05/0.004895, allocations: 5.953 kB / 482 MB, free: 4.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.004914, allocations: 4 kB / 482 MB, free: 4.887 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003895/0.005303, allocations: 260.5 kB / 482.3 MB, free: 4.633 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.00533, allocations: 8.969 kB / 482.3 MB, free: 4.625 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.00535, allocations: 7.406 kB / 482.3 MB, free: 4.621 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.005599, allocations: 132.8 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.005604, allocations: 0.5469 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.005605, allocations: 0 / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00561, allocations: 0 / 482.4 MB, free: 4.492 MB / 442.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.0004111/0.006021, allocations: 265.9 kB / 482.7 MB, free: 4.211 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.006063, allocations: 12.03 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.006146, allocations: 1.844 kB / 482.7 MB, free: 4.199 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.76e-05/0.006243, allocations: 105.8 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.006257, allocations: 1.375 kB / 482.8 MB, free: 4.07 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.006268, allocations: 4.375 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.006405, allocations: 58.94 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.006414, allocations: 0.8125 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.634e-06/0.006421, allocations: 1.688 kB / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.006428, allocations: 384 / 482.9 MB, free: 4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.869e-05/0.006457, allocations: 11.88 kB / 482.9 MB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002272/0.006684, allocations: 149 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.403e-05/0.006738, allocations: 23.09 kB / 483.1 MB, free: 3.797 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.655e-05/0.006754, allocations: 10.2 kB / 483.1 MB, free: 3.785 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/0.007115, allocations: 74.73 kB / 483.2 MB, free: 3.715 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.007143, allocations: 38.55 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.007144, allocations: 1.312 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.007304, allocations: 39.67 kB / 483.2 MB, free: 3.625 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.007338, allocations: 55.34 kB / 483.3 MB, free: 3.559 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.991e-05/0.007408, allocations: 114.7 kB / 483.4 MB, free: 3.434 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.00742, allocations: 25.7 kB / 483.4 MB, free: 3.402 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.181e-05/0.007452, allocations: 80.92 kB / 483.5 MB, free: 3.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.007474, allocations: 11.89 kB / 483.5 MB, free: 3.309 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.187e-05/0.007506, allocations: 15.14 kB / 483.5 MB, free: 3.289 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.00761, allocations: 318.8 kB / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.212e-05/0.007622, allocations: 0 / 483.8 MB, free: 2.969 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.325e-05/0.007635, allocations: 4 kB / 483.8 MB, free: 2.965 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.122e-05/0.007667, allocations: 13.64 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.007669, allocations: 1.484 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.995e-05/0.007759, allocations: 38.47 kB / 483.9 MB, free: 2.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.007775, allocations: 5.875 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.007779, allocations: 0 / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.007794, allocations: 0.6562 kB / 483.9 MB, free: 2.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.082e-05/0.007864, allocations: 12.92 kB / 483.9 MB, free: 2.891 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.007867, allocations: 4 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.00789, allocations: 4.875 kB / 483.9 MB, free: 2.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.007895, allocations: 1.094 kB / 483.9 MB, free: 2.883 MB / 442.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 7.338e-05/0.007969, allocations: 109.8 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.00801, allocations: 0.625 kB / 484 MB, free: 2.766 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.12e-05/0.008101, allocations: 46.59 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.008104, allocations: 2.672 kB / 484.1 MB, free: 2.715 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.008108, allocations: 4.562 kB / 484.1 MB, free: 2.711 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-06/0.008112, allocations: 4.609 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000128/0.00824, allocations: 70.56 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.008242, allocations: 0.5938 kB / 484.2 MB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.628e-05/0.008278, allocations: 8.578 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.00828, allocations: 0 / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.008285, allocations: 0.8125 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.008287, allocations: 256 / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008288, allocations: 2.109 kB / 484.2 MB, free: 2.613 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.008406, allocations: 143.4 kB / 484.3 MB, free: 2.457 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-06/0.008415, allocations: 7.953 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.008426, allocations: 0.5938 kB / 484.3 MB, free: 2.449 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.008488, allocations: 4 kB / 484.3 MB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.086e-05/0.008519, allocations: 5.891 kB / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.008523, allocations: 0 / 484.3 MB, free: 2.441 MB / 442.7 MB Notification: Performance of sorting global known variables: time 2.084e-05/0.008544, allocations: 28.73 kB / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.008544, allocations: 0 / 484.4 MB, free: 2.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.008775, allocations: 15.94 kB / 484.4 MB, free: 2.395 MB / 442.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.0001656/0.008941, allocations: 90.44 kB / 484.5 MB, free: 2.301 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 6.596e-05/0.009007, allocations: 8.859 kB / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.009012, allocations: 0 / 484.5 MB, free: 2.289 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.009033, allocations: 14.55 kB / 484.5 MB, free: 2.273 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.009243, allocations: 11.92 kB / 484.5 MB, free: 2.262 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.009497, allocations: 111.8 kB / 484.6 MB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.785e-05/0.009535, allocations: 51.36 kB / 484.7 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.943e-05/0.009554, allocations: 4 kB / 484.7 MB, free: 2.055 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.0096, allocations: 52.03 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.009601, allocations: 0.75 kB / 484.7 MB, free: 2.004 MB / 442.7 MB Notification: Performance of Templates: time 0.003237/0.01284, allocations: 0.7805 MB / 485.5 MB, free: 1.266 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.5501319160684943]