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.0009814/0.0009814, 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.0009658/0.0009658, allocations: 173 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.9222/0.9222, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.7624/0.7624, allocations: 154.6 MB / 414.8 MB, free: 488 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.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.673e-06/1.673e-06, allocations: 0 / 480.1 MB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.827e-05/1.995e-05, allocations: 3.062 kB / 480.1 MB, free: 6.836 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001346/0.001365, allocations: 0.6072 MB / 480.7 MB, free: 6.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000225/0.00159, allocations: 90.08 kB / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.551e-05/0.001606, allocations: 0 / 480.8 MB, free: 6.172 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.00162, allocations: 3.938 kB / 480.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-05/0.001661, allocations: 1.078 kB / 480.8 MB, free: 6.168 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.00185, allocations: 25.66 kB / 480.8 MB, free: 6.145 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 4.243e-05/0.001893, allocations: 8.531 kB / 480.8 MB, free: 6.137 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.25e-05/0.001925, allocations: 0 / 480.8 MB, free: 6.137 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.001955, allocations: 4.656 kB / 480.8 MB, free: 6.133 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.002026, allocations: 6.703 kB / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.002038, allocations: 0 / 480.8 MB, free: 6.129 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.028e-05/0.002088, allocations: 12 kB / 480.8 MB, free: 6.117 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.444e-05/0.002102, allocations: 4.969 kB / 480.8 MB, free: 6.113 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.211e-05/0.002114, allocations: 7.984 kB / 480.8 MB, free: 6.105 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 7.106e-05/0.002185, allocations: 17.31 kB / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.002188, allocations: 0 / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.002189, allocations: 1.188 kB / 480.8 MB, free: 6.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.002192, allocations: 0 / 480.8 MB, free: 6.09 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.0002316/0.002424, allocations: 220.5 kB / 481.1 MB, free: 5.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.002455, allocations: 12.72 kB / 481.1 MB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/0.002563, allocations: 10.7 kB / 481.1 MB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.04e-05/0.002614, allocations: 101.8 kB / 481.2 MB, free: 5.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.002629, allocations: 4.375 kB / 481.2 MB, free: 5.703 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.002638, allocations: 4.375 kB / 481.2 MB, free: 5.699 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.402e-05/0.002722, allocations: 48.2 kB / 481.2 MB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-06/0.002728, allocations: 1.094 kB / 481.2 MB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.002734, allocations: 384 / 481.2 MB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.002739, allocations: 1.219 kB / 481.2 MB, free: 5.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.38e-05/0.002763, allocations: 20.55 kB / 481.3 MB, free: 5.625 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.753e-05/0.00284, allocations: 57.7 kB / 481.3 MB, free: 5.555 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.277e-05/0.002913, allocations: 32.59 kB / 481.4 MB, free: 5.516 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.002928, allocations: 13.73 kB / 481.4 MB, free: 5.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.002938, allocations: 0 / 481.4 MB, free: 5.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.002957, allocations: 31.78 kB / 481.4 MB, free: 5.461 MB / 442.7 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.002958, allocations: 0 / 481.4 MB, free: 5.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=3): time 8.8e-05/0.003046, allocations: 46.17 kB / 481.4 MB, free: 5.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.003074, allocations: 52.56 kB / 481.5 MB, free: 5.348 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.604e-05/0.0031, allocations: 89.86 kB / 481.6 MB, free: 5.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.003109, allocations: 25.7 kB / 481.6 MB, free: 5.219 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.779e-05/0.003127, allocations: 81.3 kB / 481.7 MB, free: 5.137 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.003155, allocations: 13.5 kB / 481.7 MB, free: 5.125 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.178e-05/0.003177, allocations: 9.719 kB / 481.7 MB, free: 5.109 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.003249, allocations: 327.5 kB / 482 MB, free: 4.781 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.268e-06/0.003258, allocations: 0 / 482 MB, free: 4.781 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.206e-06/0.003266, allocations: 6.594 kB / 482 MB, free: 4.777 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.939e-05/0.003296, allocations: 16.84 kB / 482.1 MB, free: 4.758 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.003298, allocations: 0 / 482.1 MB, free: 4.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.131e-05/0.003339, allocations: 43.23 kB / 482.1 MB, free: 4.711 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.003348, allocations: 5.438 kB / 482.1 MB, free: 4.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.003352, allocations: 3.984 kB / 482.1 MB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.718e-06/0.003361, allocations: 0 / 482.1 MB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.003505, allocations: 21.39 kB / 482.1 MB, free: 4.684 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005887/0.004094, allocations: 1.204 MB / 483.3 MB, free: 3.402 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.483e-05/0.004109, allocations: 4.562 kB / 483.3 MB, free: 3.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-06/0.004112, allocations: 0 / 483.3 MB, free: 3.398 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 (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 4.983e-05/0.004162, allocations: 114.5 kB / 483.4 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-06/0.004167, allocations: 0.625 kB / 483.4 MB, free: 3.277 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.165e-06/0.004175, allocations: 9.016 kB / 483.5 MB, free: 3.266 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.004177, allocations: 4.844 kB / 483.5 MB, free: 3.262 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.004179, allocations: 4.562 kB / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.004181, allocations: 0 / 483.5 MB, free: 3.258 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.312e-05/0.004224, allocations: 62.53 kB / 483.5 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.004226, allocations: 0.6875 kB / 483.5 MB, free: 3.18 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.004328, allocations: 30.06 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.004329, allocations: 0 / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-06/0.004333, allocations: 0.7656 kB / 483.6 MB, free: 3.152 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004666/0.0048, allocations: 1.208 MB / 484.8 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.0048, allocations: 1.031 kB / 484.8 MB, free: 1.867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.421e-05/0.004845, allocations: 65.05 kB / 484.8 MB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.418e-06/0.004849, allocations: 8 kB / 484.8 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-06/0.004853, allocations: 0.5312 kB / 484.8 MB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.073e-05/0.004863, allocations: 9.094 kB / 484.8 MB, free: 1.773 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.004876, allocations: 8.531 kB / 484.9 MB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-06/0.004879, allocations: 0 / 484.9 MB, free: 1.766 MB / 442.7 MB Notification: Performance of sorting global known variables: time 6.222e-06/0.004885, allocations: 5.734 kB / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.004885, allocations: 0 / 484.9 MB, free: 1.758 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001038/0.004989, allocations: 8 kB / 484.9 MB, free: 1.75 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 (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 7.493e-05/0.005064, allocations: 75.31 kB / 484.9 MB, free: 1.668 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001364/0.0052, allocations: 38.42 kB / 485 MB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.005202, allocations: 3.938 kB / 485 MB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 7.441e-05/0.005277, allocations: 29.11 kB / 485 MB, free: 1.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.061e-05/0.005327, allocations: 6.641 kB / 485 MB, free: 1.586 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001635/0.005491, allocations: 98.33 kB / 485.1 MB, free: 1.469 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.799e-05/0.005519, allocations: 59.16 kB / 485.2 MB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.014e-05/0.005539, allocations: 7.031 kB / 485.2 MB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.005571, allocations: 47.38 kB / 485.2 MB, free: 1.34 MB / 442.7 MB Notification: Performance of SimCode: time 5.61e-07/0.005571, allocations: 0 / 485.2 MB, free: 1.34 MB / 442.7 MB Notification: Performance of Templates: time 0.001717/0.007289, allocations: 0.5102 MB / 485.7 MB, free: 0.8633 MB / 442.7 MB " [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.3938401411287487]