Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001051/0.001051, allocations: 80.94 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.001193/0.001193, allocations: 181 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.9058/0.9058, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.7964/0.7964, allocations: 154.6 MB / 414.8 MB, free: 0.5156 MB / 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 480.1 MB, free: 6.898 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.444e-05/1.585e-05, allocations: 5.047 kB / 480.1 MB, free: 6.895 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001092/0.001108, allocations: 0.6043 MB / 480.7 MB, free: 6.324 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.001577, allocations: 296.6 kB / 481 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.576e-05/0.001593, allocations: 0 / 481 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.348e-05/0.001607, allocations: 0 / 481 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.73e-06/0.001612, allocations: 0 / 481 MB, free: 6.039 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.00197, allocations: 108.6 kB / 481.1 MB, free: 5.934 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 3.73e-05/0.002008, allocations: 4.891 kB / 481.1 MB, free: 5.93 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.002042, allocations: 0 / 481.1 MB, free: 5.93 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.967e-05/0.002072, allocations: 8.531 kB / 481.1 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.221e-05/0.002094, allocations: 1.875 kB / 481.1 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.002105, allocations: 0 / 481.1 MB, free: 5.922 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002768/0.002382, allocations: 252.3 kB / 481.3 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.12e-05/0.002393, allocations: 0 / 481.3 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 9.558e-06/0.002402, allocations: 0 / 481.3 MB, free: 5.676 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.002545, allocations: 125.4 kB / 481.4 MB, free: 5.555 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.002547, allocations: 0 / 481.4 MB, free: 5.555 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.5e-07/0.002547, allocations: 0 / 481.4 MB, free: 5.555 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.405e-06/0.00255, allocations: 1.281 kB / 481.4 MB, free: 5.555 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001957/0.002745, allocations: 233.4 kB / 481.7 MB, free: 5.301 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.002775, allocations: 12.03 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.002827, allocations: 4.719 kB / 481.7 MB, free: 5.289 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.121e-05/0.002879, allocations: 109.8 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.002888, allocations: 4.906 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.002896, allocations: 1.688 kB / 481.8 MB, free: 5.152 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.819e-05/0.002954, allocations: 30.81 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.002961, allocations: 192 / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.939e-06/0.002966, allocations: 1.031 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.002971, allocations: 0.9375 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.145e-05/0.002982, allocations: 13.09 kB / 481.9 MB, free: 5.105 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.502e-05/0.003047, allocations: 53.7 kB / 481.9 MB, free: 5.039 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.048e-05/0.003078, allocations: 18.61 kB / 481.9 MB, free: 5.012 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.069e-05/0.003089, allocations: 9.922 kB / 481.9 MB, free: 5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/0.003294, allocations: 50.23 kB / 482 MB, free: 4.953 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.003314, allocations: 32.27 kB / 482 MB, free: 4.914 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.003315, allocations: 5.438 kB / 482 MB, free: 4.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 9.134e-05/0.003406, allocations: 33.64 kB / 482.1 MB, free: 4.871 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.003431, allocations: 51.41 kB / 482.1 MB, free: 4.809 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.589e-05/0.003457, allocations: 90.48 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.003467, allocations: 25.7 kB / 482.2 MB, free: 4.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.789e-05/0.003485, allocations: 81.77 kB / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.003509, allocations: 0 / 482.3 MB, free: 4.598 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.003529, allocations: 17.7 kB / 482.3 MB, free: 4.574 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.241e-05/0.003601, allocations: 319.4 kB / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.5e-06/0.003607, allocations: 4 kB / 482.6 MB, free: 4.25 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.991e-06/0.003613, allocations: 4.75 kB / 482.6 MB, free: 4.246 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.988e-05/0.003633, allocations: 5.922 kB / 482.6 MB, free: 4.238 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.003635, allocations: 0 / 482.6 MB, free: 4.238 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.05e-05/0.003675, allocations: 38.27 kB / 482.7 MB, free: 4.195 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.003685, allocations: 5.219 kB / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.003688, allocations: 0 / 482.7 MB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.0037, allocations: 5.359 kB / 482.7 MB, free: 4.188 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.003732, allocations: 4 kB / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.003735, allocations: 0 / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.514e-06/0.003742, allocations: 0 / 482.7 MB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.003746, allocations: 1.609 kB / 482.7 MB, free: 4.184 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 (1): * Single equations (assignments): 1 * 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 4.636e-05/0.003793, allocations: 110.4 kB / 482.8 MB, free: 4.066 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.01e-05/0.003803, allocations: 4.625 kB / 482.8 MB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.023e-05/0.003863, allocations: 41.97 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.003866, allocations: 1.703 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.003868, allocations: 0 / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.003871, allocations: 0.625 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.777e-05/0.003919, allocations: 62.19 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.003919, allocations: 0.625 kB / 482.9 MB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-06/0.003925, allocations: 6.031 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.003926, allocations: 0 / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.00393, allocations: 0 / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.00393, allocations: 1.656 kB / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.003931, allocations: 0 / 482.9 MB, free: 3.938 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.01e-05/0.003981, allocations: 69.05 kB / 483 MB, free: 3.852 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.36e-06/0.003986, allocations: 7.891 kB / 483 MB, free: 3.844 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-06/0.003994, allocations: 4.906 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.697e-06/0.003997, allocations: 0 / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.022e-05/0.004008, allocations: 1 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.00401, allocations: 1.594 kB / 483 MB, free: 3.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.073e-06/0.004017, allocations: 8.797 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004017, allocations: 2.094 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001002/0.004117, allocations: 11.98 kB / 483 MB, free: 3.816 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 (1): * Single equations (assignments): 1 * 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.0001039/0.004221, allocations: 92.36 kB / 483.1 MB, free: 3.715 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 3.983e-05/0.004261, allocations: 9.531 kB / 483.1 MB, free: 3.703 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.004263, allocations: 4 kB / 483.1 MB, free: 3.699 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.749e-06/0.004268, allocations: 6.516 kB / 483.1 MB, free: 3.691 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.843e-05/0.004306, allocations: 8.594 kB / 483.1 MB, free: 3.684 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001168/0.004423, allocations: 76.27 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.403e-05/0.004447, allocations: 52.92 kB / 483.3 MB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.303e-05/0.00446, allocations: 4 kB / 483.3 MB, free: 3.508 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.004483, allocations: 51.36 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of SimCode: time 2.51e-07/0.004483, allocations: 1.688 kB / 483.3 MB, free: 3.457 MB / 442.7 MB Notification: Performance of Templates: time 0.001705/0.006188, allocations: 0.5369 MB / 483.9 MB, free: 2.945 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5064988238736987]