Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.001299/0.001299, allocations: 73.09 kB / 20.65 MB, free: 3.848 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.00095/0.00095, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.066/1.066, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.8451/0.8451, allocations: 154.6 MB / 415.6 MB, free: 0.5273 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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 0.5216 GB, free: 1.867 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.09e-05, allocations: 7.062 kB / 0.5216 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001523/0.001544, allocations: 0.6078 MB / 0.5222 GB, free: 1.27 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002721/0.001816, allocations: 84.5 kB / 0.5223 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.28e-05/0.001838, allocations: 0.9688 kB / 0.5223 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.001855, allocations: 0 / 0.5223 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.644e-05/0.001901, allocations: 1.75 kB / 0.5223 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.002113, allocations: 28.61 kB / 0.5223 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.06e-05/0.002163, allocations: 4.203 kB / 0.5223 GB, free: 1.156 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.002205, allocations: 4 kB / 0.5223 GB, free: 1.152 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.599e-05/0.002241, allocations: 12.5 kB / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.164e-05/0.002323, allocations: 0.5 kB / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.002336, allocations: 0 / 0.5223 GB, free: 1.141 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.132e-05/0.002397, allocations: 12.89 kB / 0.5223 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.339e-05/0.002411, allocations: 0 / 0.5223 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.121e-05/0.002422, allocations: 0.7812 kB / 0.5223 GB, free: 1.129 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 8.462e-05/0.002506, allocations: 23.95 kB / 0.5223 GB, free: 1.105 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.002509, allocations: 0.625 kB / 0.5223 GB, free: 1.105 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.002509, allocations: 0 / 0.5223 GB, free: 1.105 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.002513, allocations: 1 kB / 0.5223 GB, free: 1.105 MB / 490.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.0003035/0.002816, allocations: 348.4 kB / 0.5227 GB, free: 0.7266 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.002853, allocations: 8.844 kB / 0.5227 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001288/0.002981, allocations: 8.938 kB / 0.5227 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.083e-05/0.003052, allocations: 110.4 kB / 0.5228 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.003069, allocations: 384 / 0.5228 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.891e-06/0.003075, allocations: 384 / 0.5228 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.003183, allocations: 58.89 kB / 0.5229 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.00319, allocations: 1.906 kB / 0.5229 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.003198, allocations: 8.312 kB / 0.5229 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.003203, allocations: 384 / 0.5229 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.659e-05/0.00323, allocations: 7.938 kB / 0.5229 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001802/0.00341, allocations: 97.25 kB / 0.523 GB, free: 384 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.528e-05/0.003495, allocations: 43.78 kB / 0.523 GB, free: 328 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.845e-05/0.003514, allocations: 13.06 kB / 0.523 GB, free: 312 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.28e-05/0.003527, allocations: 4.031 kB / 0.523 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.003552, allocations: 37.33 kB / 0.5231 GB, free: 260 kB / 490.7 MB Notification: Performance of pre-optimization done (n=3): time 1.433e-06/0.003554, allocations: 4 kB / 0.5231 GB, free: 256 kB / 490.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001187/0.003673, allocations: 38.94 kB / 0.5231 GB, free: 212 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.003703, allocations: 59.41 kB / 0.5232 GB, free: 140 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.429e-05/0.003758, allocations: 142.2 kB / 0.5233 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.003769, allocations: 27.89 kB / 0.5233 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 3.643e-05/0.003805, allocations: 126.9 kB / 0.5234 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.003833, allocations: 8.25 kB / 0.5235 GB, free: 15.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.003865, allocations: 19.38 kB / 0.5235 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.003993, allocations: 0.4883 MB / 0.5239 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.376e-05/0.004006, allocations: 4 kB / 0.524 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.328e-06/0.004016, allocations: 5.812 kB / 0.524 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.708e-05/0.004053, allocations: 19.62 kB / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004055, allocations: 0 / 0.524 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.224e-05/0.004117, allocations: 41.69 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.004128, allocations: 4 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004132, allocations: 0.5625 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.004141, allocations: 0.9062 kB / 0.524 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.004322, allocations: 24.97 kB / 0.524 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009451/0.005267, allocations: 1.796 MB / 0.5258 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.005287, allocations: 10.91 kB / 0.5258 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.005292, allocations: 0 / 0.5258 GB, free: 13.28 MB / 0.4948 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.656e-05/0.005369, allocations: 152.6 kB / 0.526 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.005378, allocations: 4 kB / 0.526 GB, free: 13.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.424e-05/0.005392, allocations: 7.531 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.005395, allocations: 3.938 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005396, allocations: 3.031 kB / 0.526 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.005401, allocations: 3.984 kB / 0.526 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.052e-05/0.005471, allocations: 93.27 kB / 0.5261 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.005473, allocations: 7.875 kB / 0.5261 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.00564, allocations: 31.97 kB / 0.5261 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.005642, allocations: 1.5 kB / 0.5261 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.539e-06/0.005646, allocations: 0 / 0.5261 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/0.00666, allocations: 1.79 MB / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.006661, allocations: 0 / 0.5279 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.265e-05/0.006733, allocations: 76.44 kB / 0.5279 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.495e-06/0.006736, allocations: 0 / 0.5279 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.452e-06/0.006742, allocations: 7.938 kB / 0.5279 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.445e-05/0.006757, allocations: 0 / 0.5279 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.006772, allocations: 6.422 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.006776, allocations: 4.047 kB / 0.5279 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 3.831e-05/0.006814, allocations: 119.2 kB / 0.5281 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.006815, allocations: 0 / 0.5281 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002105/0.007025, allocations: 4 kB / 0.5281 GB, free: 10.81 MB / 0.4948 GB 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 (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.88e-05/0.007114, allocations: 100.6 kB / 0.5282 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002115/0.007325, allocations: 44.5 kB / 0.5282 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007327, allocations: 0 / 0.5282 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001205/0.007447, allocations: 33.09 kB / 0.5282 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.007594, allocations: 4 kB / 0.5282 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002117/0.007806, allocations: 114.9 kB / 0.5283 GB, free: 10.48 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.38e-05/0.00784, allocations: 55.3 kB / 0.5284 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.393e-05/0.007863, allocations: 2.438 kB / 0.5284 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.00791, allocations: 74.19 kB / 0.5285 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of SimCode: time 4.61e-07/0.00791, allocations: 0 / 0.5285 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of Templates: time 0.002374/0.01028, allocations: 0.5031 MB / 0.529 GB, free: 9.855 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8147576060146093]