Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.0009844/0.0009844, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001037/0.001037, allocations: 181 kB / 23.36 MB, free: 1.133 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.9884/0.9884, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.8278/0.8278, allocations: 154.6 MB / 414.9 MB, free: 496 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.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0.9844 kB / 480.1 MB, free: 6.758 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.844e-05, allocations: 4.703 kB / 480.1 MB, free: 6.754 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001982/0.002011, allocations: 0.6849 MB / 480.8 MB, free: 6.109 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006279/0.002639, allocations: 321.6 kB / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.002665, allocations: 0 / 481.1 MB, free: 5.801 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.002682, allocations: 5.328 kB / 481.1 MB, free: 5.797 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 3.278e-05/0.002715, allocations: 0 / 481.1 MB, free: 5.797 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.004252, allocations: 99.31 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.004326, allocations: 22.05 kB / 481.2 MB, free: 5.684 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.076e-05/0.004366, allocations: 4.766 kB / 481.2 MB, free: 5.68 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.273e-05/0.004439, allocations: 18.05 kB / 481.3 MB, free: 5.664 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.004503, allocations: 13.17 kB / 481.3 MB, free: 5.652 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.004519, allocations: 0 / 481.3 MB, free: 5.652 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004893/0.005009, allocations: 284.6 kB / 481.5 MB, free: 5.375 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.005027, allocations: 5.516 kB / 481.6 MB, free: 5.371 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.005047, allocations: 9.734 kB / 481.6 MB, free: 5.363 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002267/0.005274, allocations: 137.3 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.005278, allocations: 0 / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005279, allocations: 0.7656 kB / 481.7 MB, free: 5.23 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.005284, allocations: 1.25 kB / 481.7 MB, free: 5.23 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003636/0.005647, allocations: 263.5 kB / 482 MB, free: 4.949 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.00569, allocations: 9.469 kB / 482 MB, free: 4.941 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.137e-05/0.005781, allocations: 5.828 kB / 482 MB, free: 4.938 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.005887, allocations: 117.7 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.0059, allocations: 1.312 kB / 482.1 MB, free: 4.797 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.005924, allocations: 9.219 kB / 482.1 MB, free: 4.789 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.006045, allocations: 97.59 kB / 482.2 MB, free: 4.676 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.00606, allocations: 6.062 kB / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.006069, allocations: 384 / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.006075, allocations: 384 / 482.2 MB, free: 4.672 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.37e-05/0.006119, allocations: 15.92 kB / 482.2 MB, free: 4.656 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.006251, allocations: 73.61 kB / 482.3 MB, free: 4.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.006353, allocations: 46.86 kB / 482.3 MB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.217e-05/0.006385, allocations: 25.72 kB / 482.4 MB, free: 4.492 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004105/0.006796, allocations: 74.23 kB / 482.4 MB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.006826, allocations: 35.7 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.444e-06/0.006828, allocations: 0.5938 kB / 482.5 MB, free: 4.379 MB / 442.7 MB Notification: Performance of matching and sorting (n=11): time 0.001359/0.008187, allocations: 447 kB / 482.9 MB, free: 3.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.008219, allocations: 55.41 kB / 483 MB, free: 3.828 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.887e-05/0.008288, allocations: 110.5 kB / 483.1 MB, free: 3.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.008302, allocations: 26.47 kB / 483.1 MB, free: 3.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.00833, allocations: 80.14 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.787e-05/0.008378, allocations: 40.59 kB / 483.2 MB, free: 3.559 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.008425, allocations: 37.62 kB / 483.2 MB, free: 3.516 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.674e-05/0.008522, allocations: 315.5 kB / 483.6 MB, free: 3.199 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.215e-05/0.008544, allocations: 8 kB / 483.6 MB, free: 3.191 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.442e-05/0.008568, allocations: 8.906 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.243e-05/0.008641, allocations: 41.69 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.008642, allocations: 2.344 kB / 483.6 MB, free: 3.141 MB / 442.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001319/0.008774, allocations: 72.42 kB / 483.7 MB, free: 3.066 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.008792, allocations: 4 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.008798, allocations: 0.6562 kB / 483.7 MB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.008815, allocations: 4 kB / 483.7 MB, free: 3.059 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.638e-05/0.008911, allocations: 23.92 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.008916, allocations: 5.625 kB / 483.7 MB, free: 3.031 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.439e-05/0.008941, allocations: 8 kB / 483.7 MB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.008949, allocations: 4 kB / 483.7 MB, free: 3.02 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 (13): * Single equations (assignments): 13 * 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.752e-05/0.009027, allocations: 114.6 kB / 483.8 MB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.009062, allocations: 5.812 kB / 483.8 MB, free: 2.895 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001501/0.009212, allocations: 85.92 kB / 483.9 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.009216, allocations: 4 kB / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-06/0.009218, allocations: 0 / 483.9 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.009223, allocations: 3.938 kB / 483.9 MB, free: 2.797 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.009513, allocations: 223.6 kB / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.009515, allocations: 0 / 484.2 MB, free: 2.555 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.009616, allocations: 25.08 kB / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.009619, allocations: 0 / 484.2 MB, free: 2.531 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.009628, allocations: 4 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00963, allocations: 0.8438 kB / 484.2 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.009633, allocations: 3.938 kB / 484.2 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.009843, allocations: 184.4 kB / 484.4 MB, free: 2.332 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.415e-05/0.009877, allocations: 15.94 kB / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.00989, allocations: 0 / 484.4 MB, free: 2.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.009962, allocations: 4.906 kB / 484.4 MB, free: 2.312 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.147e-05/0.009983, allocations: 7.922 kB / 484.4 MB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.009995, allocations: 8.719 kB / 484.4 MB, free: 2.297 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.739e-05/0.01001, allocations: 8.797 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01001, allocations: 0.7812 kB / 484.4 MB, free: 2.285 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002763/0.01029, allocations: 47.92 kB / 484.5 MB, free: 2.238 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002634/0.01055, allocations: 125 kB / 484.6 MB, free: 2.109 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.01066, allocations: 49.53 kB / 484.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.01067, allocations: 0 / 484.6 MB, free: 2.059 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.693e-05/0.0107, allocations: 33.27 kB / 484.7 MB, free: 2.023 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.01088, allocations: 9.344 kB / 484.7 MB, free: 2.016 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01124, allocations: 158.2 kB / 484.8 MB, free: 1.836 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.719e-05/0.01129, allocations: 63.34 kB / 484.9 MB, free: 1.754 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.01134, allocations: 10.86 kB / 484.9 MB, free: 1.746 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.154e-05/0.01142, allocations: 67.36 kB / 485 MB, free: 1.68 MB / 442.7 MB Notification: Performance of SimCode: time 7.62e-07/0.01142, allocations: 0.5 kB / 485 MB, free: 1.68 MB / 442.7 MB Notification: Performance of Templates: time 0.005142/0.01657, allocations: 1.617 MB / 486.6 MB, free: 180 kB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7252050726674497]