Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") translateModel(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 114.2 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 197.8 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8562/0.8562, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 74.52 kB / 0.5912 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1914, allocations: 83.26 MB / 0.6725 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.PowerLinearized): time 0.001805/0.1932, allocations: 0.5766 MB / 0.6731 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000301/0.1935, allocations: 102.2 kB / 0.6732 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.527e-05/0.1935, allocations: 0 / 0.6732 GB, free: 3.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1935, allocations: 4 kB / 0.6732 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.503e-05/0.1935, allocations: 0 / 0.6732 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1937, allocations: 19.91 kB / 0.6732 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.432e-05/0.1938, allocations: 8 kB / 0.6732 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.1938, allocations: 3.938 kB / 0.6732 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.92e-05/0.1938, allocations: 4 kB / 0.6732 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.138e-05/0.1939, allocations: 3.984 kB / 0.6732 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1939, allocations: 0 / 0.6732 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.74e-05/0.194, allocations: 15.98 kB / 0.6732 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.165e-05/0.194, allocations: 0 / 0.6732 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.139e-05/0.194, allocations: 15.88 kB / 0.6733 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.275e-05/0.1941, allocations: 15.97 kB / 0.6733 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1941, allocations: 0 / 0.6733 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1941, allocations: 0 / 0.6733 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1941, allocations: 0 / 0.6733 GB, free: 3.184 MB / 0.4981 GB 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.0003629/0.1945, allocations: 323.5 kB / 0.6736 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1945, allocations: 8.031 kB / 0.6736 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1947, allocations: 8.922 kB / 0.6736 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.1948, allocations: 168.4 kB / 0.6738 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.27e-05/0.1948, allocations: 4.312 kB / 0.6738 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-06/0.1948, allocations: 384 / 0.6738 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.1949, allocations: 38.25 kB / 0.6738 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1949, allocations: 192 / 0.6738 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.195, allocations: 15.91 kB / 0.6738 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.195, allocations: 0 / 0.6738 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.604e-05/0.195, allocations: 11.98 kB / 0.6738 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/0.1952, allocations: 153.7 kB / 0.674 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.1954, allocations: 46.53 kB / 0.674 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.1954, allocations: 13.27 kB / 0.674 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.1954, allocations: 0 / 0.674 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1955, allocations: 30.56 kB / 0.6741 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.1955, allocations: 0 / 0.6741 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0002061/0.1957, allocations: 61.61 kB / 0.6741 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1957, allocations: 51.41 kB / 0.6742 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.157e-05/0.1958, allocations: 89.86 kB / 0.6742 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.1958, allocations: 29.64 kB / 0.6743 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.1958, allocations: 80.14 kB / 0.6744 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.1958, allocations: 23.83 kB / 0.6744 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.1959, allocations: 17.66 kB / 0.6744 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.196, allocations: 318.8 kB / 0.6747 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.196, allocations: 7.984 kB / 0.6747 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.815e-05/0.1961, allocations: 4 kB / 0.6747 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.477e-05/0.1961, allocations: 24.84 kB / 0.6747 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.1961, allocations: 0 / 0.6747 GB, free: 1.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001044/0.1963, allocations: 45.69 kB / 0.6748 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.1963, allocations: 4 kB / 0.6748 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.994e-06/0.1963, allocations: 4 kB / 0.6748 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1963, allocations: 11.92 kB / 0.6748 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/0.1967, allocations: 43.88 kB / 0.6748 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.1981, allocations: 1.398 MB / 0.6762 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.07e-05/0.1981, allocations: 4.031 kB / 0.6762 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1981, allocations: 3.984 kB / 0.6762 GB, free: 15.81 MB / 0.5137 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 8.817e-05/0.1982, allocations: 117.7 kB / 0.6763 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.1982, allocations: 11.92 kB / 0.6763 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.368e-05/0.1982, allocations: 3.5 kB / 0.6763 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1982, allocations: 4.062 kB / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1982, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.1982, allocations: 0 / 0.6763 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.1983, allocations: 157.6 kB / 0.6765 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1983, allocations: 0 / 0.6765 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.1987, allocations: 47.92 kB / 0.6765 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1987, allocations: 4 kB / 0.6765 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.1987, allocations: 0 / 0.6765 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001241/0.2, allocations: 1.408 MB / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.2, allocations: 0 / 0.6779 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.2001, allocations: 73.25 kB / 0.678 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-05/0.2001, allocations: 89.05 kB / 0.6781 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.275e-06/0.2001, allocations: 3.938 kB / 0.6781 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.636e-05/0.2002, allocations: 0 / 0.6781 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.495e-05/0.2002, allocations: 0 / 0.6781 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.2002, allocations: 4 kB / 0.6781 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.322e-05/0.2002, allocations: 79.22 kB / 0.6782 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.2002, allocations: 4 kB / 0.6782 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001865/0.2004, allocations: 4 kB / 0.6782 GB, free: 13.58 MB / 0.5137 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 0.0001577/0.2006, allocations: 107.2 kB / 0.6783 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000449/0.201, allocations: 55.92 kB / 0.6783 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.201, allocations: 0 / 0.6783 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/0.2012, allocations: 43.94 kB / 0.6784 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2014, allocations: 3.938 kB / 0.6784 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003135/0.2017, allocations: 101 kB / 0.6785 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.202, allocations: 0.6807 MB / 0.6791 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.202, allocations: 4.219 kB / 0.6791 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.202, allocations: 11.44 kB / 0.6791 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.202, allocations: 3.938 kB / 0.6791 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of Templates: time 0.002564/0.2046, allocations: 419.3 kB / 0.6795 GB, free: 12.11 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.PowerLinearized.pipe 2>&1) [Timeout 480]