Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 113 kB / 17.33 MB, free: 5.043 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.001378/0.001378, allocations: 202.6 kB / 18.33 MB, free: 4.055 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.488/1.488, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8352/0.8352, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 72.05 kB / 0.5912 GB, free: 21.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1901, allocations: 83.26 MB / 0.6725 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.002013/0.1921, allocations: 0.5681 MB / 0.6731 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008165/0.1929, allocations: 341.6 kB / 0.6734 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.1929, allocations: 0 / 0.6734 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.628e-05/0.1929, allocations: 4 kB / 0.6734 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.684e-06/0.1929, allocations: 0 / 0.6734 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.1935, allocations: 107.6 kB / 0.6735 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.112e-05/0.1935, allocations: 4 kB / 0.6735 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.1936, allocations: 0 / 0.6735 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.765e-05/0.1936, allocations: 3.984 kB / 0.6735 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.637e-05/0.1936, allocations: 4 kB / 0.6735 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1936, allocations: 0 / 0.6735 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004661/0.1941, allocations: 279.6 kB / 0.6738 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.1941, allocations: 4 kB / 0.6738 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1941, allocations: 0 / 0.6738 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1943, allocations: 87.73 kB / 0.6739 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1943, allocations: 0 / 0.6739 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.605e-06/0.1943, allocations: 3.938 kB / 0.6739 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.1944, allocations: 0 / 0.6739 GB, free: 2.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004104/0.1948, allocations: 331.3 kB / 0.6742 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1948, allocations: 11.97 kB / 0.6742 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.961e-05/0.1949, allocations: 4.938 kB / 0.6742 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.195, allocations: 168.4 kB / 0.6744 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.195, allocations: 384 / 0.6744 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.195, allocations: 384 / 0.6744 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.1951, allocations: 34.19 kB / 0.6744 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.1951, allocations: 4.188 kB / 0.6744 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1952, allocations: 3.938 kB / 0.6744 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1952, allocations: 0 / 0.6744 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.1952, allocations: 4 kB / 0.6744 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001636/0.1953, allocations: 145.7 kB / 0.6745 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.446e-05/0.1954, allocations: 18.61 kB / 0.6746 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1954, allocations: 4.859 kB / 0.6746 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005697/0.196, allocations: 433.5 kB / 0.675 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.196, allocations: 38.5 kB / 0.675 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.196, allocations: 0 / 0.675 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001655/0.1962, allocations: 45.62 kB / 0.6751 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.1962, allocations: 51.41 kB / 0.6751 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.943e-05/0.1963, allocations: 89.86 kB / 0.6752 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.1963, allocations: 25.7 kB / 0.6752 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.792e-05/0.1963, allocations: 80.14 kB / 0.6753 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.518e-05/0.1964, allocations: 3.953 kB / 0.6753 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1964, allocations: 17.84 kB / 0.6753 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1965, allocations: 310.8 kB / 0.6756 GB, free: 340 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.1965, allocations: 0 / 0.6756 GB, free: 340 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-06/0.1966, allocations: 7.984 kB / 0.6756 GB, free: 332 kB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.014e-05/0.1966, allocations: 12.8 kB / 0.6756 GB, free: 316 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1966, allocations: 0 / 0.6756 GB, free: 316 kB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.936e-05/0.1967, allocations: 37.64 kB / 0.6757 GB, free: 272 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.1967, allocations: 4 kB / 0.6757 GB, free: 268 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1967, allocations: 4.094 kB / 0.6757 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.1967, allocations: 3.938 kB / 0.6757 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.702e-05/0.1967, allocations: 4 kB / 0.6757 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1967, allocations: 0 / 0.6757 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.1968, allocations: 0 / 0.6757 GB, free: 256 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1968, allocations: 0 / 0.6757 GB, free: 256 kB / 0.4981 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 (1): * Single equations (assignments): 1 * 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 8.474e-05/0.1968, allocations: 109.8 kB / 0.6758 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.944e-05/0.1969, allocations: 0 / 0.6758 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.362e-05/0.197, allocations: 52.7 kB / 0.6758 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.197, allocations: 0 / 0.6758 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.197, allocations: 0 / 0.6758 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.197, allocations: 0 / 0.6758 GB, free: 80 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001365/0.1971, allocations: 149.6 kB / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1971, allocations: 0 / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.1971, allocations: 4 kB / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1971, allocations: 0 / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.1971, allocations: 3.938 kB / 0.676 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1971, allocations: 4 kB / 0.676 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1971, allocations: 4.031 kB / 0.676 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.094e-05/0.1972, allocations: 65.06 kB / 0.6761 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.917e-05/0.1973, allocations: 77.11 kB / 0.6761 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.1973, allocations: 3.938 kB / 0.6761 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.753e-06/0.1973, allocations: 0 / 0.6761 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.1973, allocations: 4 kB / 0.6761 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.1973, allocations: 0 / 0.6761 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.674e-05/0.1973, allocations: 79.31 kB / 0.6762 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1973, allocations: 0 / 0.6762 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001987/0.1975, allocations: 11.94 kB / 0.6762 GB, free: 15.59 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 (1): * Single equations (assignments): 1 * 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.000195/0.1977, allocations: 115.2 kB / 0.6763 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.026e-05/0.1978, allocations: 4 kB / 0.6763 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1978, allocations: 0 / 0.6763 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.77e-06/0.1978, allocations: 0 / 0.6763 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001309/0.198, allocations: 9.312 kB / 0.6764 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001872/0.1981, allocations: 89.03 kB / 0.6764 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1985, allocations: 0.669 MB / 0.6771 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.462e-05/0.1985, allocations: 0 / 0.6771 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.475e-05/0.1985, allocations: 11.44 kB / 0.6771 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.1985, allocations: 0 / 0.6771 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of Templates: time 0.002575/0.2011, allocations: 464.3 kB / 0.6775 GB, free: 14.19 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480]