Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.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.00104/0.00104, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.001129/0.001129, allocations: 177 kB / 23.35 MB, free: 1.141 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.065/1.065, allocations: 177.1 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.7932/0.7932, allocations: 154.6 MB / 414.8 MB, free: 492 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.301e-05, allocations: 2.844 kB / 480 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.PowerLinearized): time 0.003109/0.003132, allocations: 1.542 MB / 481.6 MB, free: 5.348 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003242/0.003456, allocations: 96.27 kB / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.309e-05/0.003499, allocations: 0 / 481.7 MB, free: 5.254 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.368e-05/0.003533, allocations: 5.031 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.296e-05/0.003596, allocations: 2.078 kB / 481.7 MB, free: 5.25 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.003806, allocations: 11.98 kB / 481.7 MB, free: 5.238 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.003907, allocations: 29.59 kB / 481.7 MB, free: 5.215 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.003997, allocations: 3.984 kB / 481.7 MB, free: 5.211 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.817e-05/0.004065, allocations: 17.52 kB / 481.8 MB, free: 5.195 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.486e-05/0.00411, allocations: 10.41 kB / 481.8 MB, free: 5.188 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.004127, allocations: 4 kB / 481.8 MB, free: 5.184 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.454e-05/0.004221, allocations: 23.92 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.881e-05/0.00424, allocations: 1.75 kB / 481.8 MB, free: 5.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.004258, allocations: 4.766 kB / 481.8 MB, free: 5.156 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.004387, allocations: 42.64 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004389, allocations: 0 / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.00439, allocations: 1 kB / 481.8 MB, free: 5.117 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.004394, allocations: 0 / 481.8 MB, free: 5.117 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.0003441/0.004738, allocations: 233.3 kB / 482.1 MB, free: 4.867 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.004778, allocations: 8.031 kB / 482.1 MB, free: 4.859 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.00495, allocations: 18.23 kB / 482.1 MB, free: 4.844 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.005059, allocations: 110.3 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.005075, allocations: 1.031 kB / 482.2 MB, free: 4.711 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.115e-06/0.005084, allocations: 5.031 kB / 482.2 MB, free: 4.707 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.005221, allocations: 56.16 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.00523, allocations: 1.031 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.005238, allocations: 0.9219 kB / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.005245, allocations: 384 / 482.3 MB, free: 4.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.005279, allocations: 16.92 kB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.005556, allocations: 164.3 kB / 482.4 MB, free: 4.453 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.01e-05/0.005616, allocations: 21.91 kB / 482.5 MB, free: 4.426 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.106e-05/0.005637, allocations: 9.688 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.005649, allocations: 0.5 kB / 482.5 MB, free: 4.414 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.831e-05/0.005677, allocations: 38.5 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.005678, allocations: 0.6875 kB / 482.5 MB, free: 4.367 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001378/0.005816, allocations: 43.14 kB / 482.6 MB, free: 4.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.005852, allocations: 55.34 kB / 482.6 MB, free: 4.254 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.278e-05/0.005925, allocations: 110.7 kB / 482.7 MB, free: 4.133 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.005938, allocations: 27.16 kB / 482.7 MB, free: 4.102 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.383e-05/0.005971, allocations: 80.14 kB / 482.8 MB, free: 4.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.005993, allocations: 13.48 kB / 482.8 MB, free: 4.008 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-05/0.006029, allocations: 13.7 kB / 482.8 MB, free: 3.988 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.006122, allocations: 318.8 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/0.006137, allocations: 0 / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.419e-05/0.006151, allocations: 4.812 kB / 483.2 MB, free: 3.664 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.732e-05/0.006189, allocations: 14.12 kB / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.006191, allocations: 0 / 483.2 MB, free: 3.648 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.173e-05/0.006262, allocations: 43 kB / 483.2 MB, free: 3.602 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.006276, allocations: 4 kB / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.006281, allocations: 0 / 483.2 MB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.006293, allocations: 4.688 kB / 483.2 MB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.006375, allocations: 12.55 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.006378, allocations: 0.9844 kB / 483.2 MB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.156e-05/0.00641, allocations: 4.625 kB / 483.2 MB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.006415, allocations: 0 / 483.2 MB, free: 3.578 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 6.51e-05/0.00648, allocations: 106.5 kB / 483.3 MB, free: 3.465 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.006504, allocations: 4.625 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.83e-05/0.006532, allocations: 12.89 kB / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.006534, allocations: 0 / 483.4 MB, free: 3.449 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.006536, allocations: 4.562 kB / 483.4 MB, free: 3.445 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.00654, allocations: 4 kB / 483.4 MB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.007769, allocations: 75.36 kB / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.007773, allocations: 0 / 483.4 MB, free: 3.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.007869, allocations: 9.594 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.007873, allocations: 0 / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.00788, allocations: 0 / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.007884, allocations: 0.6562 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.007886, allocations: 1.312 kB / 483.5 MB, free: 3.344 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.00806, allocations: 135.5 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.008072, allocations: 0 / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.008084, allocations: 1.094 kB / 483.6 MB, free: 3.195 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.0082, allocations: 11.98 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.008236, allocations: 5.516 kB / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.008242, allocations: 0 / 483.6 MB, free: 3.184 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.074e-05/0.008273, allocations: 30.81 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008273, allocations: 0 / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001921/0.008465, allocations: 4 kB / 483.6 MB, free: 3.148 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.0001073/0.008572, allocations: 72.42 kB / 483.7 MB, free: 3.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 7.74e-05/0.00865, allocations: 13.48 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.008653, allocations: 1.719 kB / 483.7 MB, free: 3.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.764e-05/0.008671, allocations: 8.859 kB / 483.7 MB, free: 3.043 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001529/0.008824, allocations: 8.75 kB / 483.7 MB, free: 3.035 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002637/0.009088, allocations: 128.1 kB / 483.9 MB, free: 2.887 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.585e-05/0.009124, allocations: 55.34 kB / 483.9 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.995e-05/0.009143, allocations: 1.688 kB / 483.9 MB, free: 2.812 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.646e-05/0.00919, allocations: 51.38 kB / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of SimCode: time 8.22e-07/0.009191, allocations: 0 / 484 MB, free: 2.762 MB / 442.7 MB Notification: Performance of Templates: time 0.002144/0.01133, allocations: 0.6445 MB / 484.6 MB, free: 2.16 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.755561244674027]