Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.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.001469/0.001469, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001636/0.001636, allocations: 219.5 kB / 23.01 MB, free: 4.609 MB / 14.72 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.335/1.335, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.8394/0.8394, allocations: 145 MB / 458.2 MB, free: 15.69 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 69.61 kB / 0.6344 GB, free: 6.902 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.165, allocations: 87.89 MB / 0.7203 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.0017/0.1667, allocations: 0.5845 MB / 0.7208 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0006696/0.1674, allocations: 334.6 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.464e-05/0.1674, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.851e-05/0.1674, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.29e-06/0.1674, allocations: 0 / 0.7211 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.1679, allocations: 115.6 kB / 0.7213 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.56e-05/0.168, allocations: 0 / 0.7213 GB, free: 14 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.78e-05/0.168, allocations: 7.984 kB / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.079e-05/0.168, allocations: 0 / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 1.871e-05/0.168, allocations: 0 / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.168, allocations: 0 / 0.7213 GB, free: 13.99 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000423/0.1685, allocations: 275.7 kB / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.827e-06/0.1685, allocations: 0 / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.439e-05/0.1685, allocations: 0 / 0.7215 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1686, allocations: 87.78 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1686, allocations: 3.938 kB / 0.7216 GB, free: 13.63 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.62e-07/0.1686, allocations: 4 kB / 0.7216 GB, free: 13.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.1687, allocations: 3.984 kB / 0.7216 GB, free: 13.62 MB / 0.545 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.0003112/0.169, allocations: 260 kB / 0.7219 GB, free: 13.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.169, allocations: 12.02 kB / 0.7219 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.169, allocations: 0.9375 kB / 0.7219 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.159e-05/0.1691, allocations: 102.5 kB / 0.722 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1691, allocations: 4.375 kB / 0.722 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.1691, allocations: 384 / 0.722 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.1692, allocations: 34.2 kB / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.1692, allocations: 192 / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.1693, allocations: 3.938 kB / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1693, allocations: 0 / 0.722 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.579e-05/0.1693, allocations: 4 kB / 0.722 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001256/0.1694, allocations: 124.7 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.676e-05/0.1694, allocations: 22.59 kB / 0.7222 GB, free: 12.96 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.1695, allocations: 4.859 kB / 0.7222 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003308/0.1698, allocations: 40.03 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.1698, allocations: 38.56 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.62e-07/0.1698, allocations: 3.938 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001664/0.17, allocations: 41.62 kB / 0.7223 GB, free: 12.81 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.17, allocations: 55.53 kB / 0.7223 GB, free: 12.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.092e-05/0.1701, allocations: 89.86 kB / 0.7224 GB, free: 12.65 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1701, allocations: 25.7 kB / 0.7224 GB, free: 12.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1701, allocations: 80.14 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.801e-05/0.1702, allocations: 7.938 kB / 0.7225 GB, free: 12.53 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.1702, allocations: 9.719 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1703, allocations: 310.8 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.507e-05/0.1703, allocations: 8 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.074e-06/0.1703, allocations: 4 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.1704, allocations: 16.78 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1704, allocations: 3.938 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.935e-05/0.1704, allocations: 29.7 kB / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1704, allocations: 4 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1704, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1705, allocations: 7.938 kB / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.374e-05/0.1705, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1705, allocations: 0 / 0.7229 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-06/0.1705, allocations: 4.094 kB / 0.7229 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.1705, allocations: 0 / 0.7229 GB, free: 12.11 MB / 0.545 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 7.307e-05/0.1706, allocations: 113.8 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1706, allocations: 4 kB / 0.723 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.559e-05/0.1707, allocations: 40.58 kB / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1707, allocations: 0 / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1707, allocations: 0 / 0.7231 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1707, allocations: 4 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.277e-05/0.1708, allocations: 124.8 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1708, allocations: 0 / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.1708, allocations: 0 / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1708, allocations: 4 kB / 0.7232 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1708, allocations: 3.938 kB / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1708, allocations: 0 / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1708, allocations: 0 / 0.7232 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.768e-05/0.1709, allocations: 65.06 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.938e-06/0.1709, allocations: 4.031 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.739e-06/0.1709, allocations: 3.938 kB / 0.7233 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.983e-06/0.1709, allocations: 0 / 0.7233 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.171, allocations: 0 / 0.7233 GB, free: 11.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-06/0.171, allocations: 0 / 0.7233 GB, free: 11.67 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.171, allocations: 79.28 kB / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 5e-08/0.171, allocations: 0 / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002029/0.1712, allocations: 12 kB / 0.7234 GB, free: 11.58 MB / 0.545 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.0001594/0.1713, allocations: 115.2 kB / 0.7235 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.766e-05/0.1714, allocations: 4 kB / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1714, allocations: 0 / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.961e-06/0.1714, allocations: 0 / 0.7235 GB, free: 11.45 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1715, allocations: 11.88 kB / 0.7235 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001868/0.1717, allocations: 114.5 kB / 0.7236 GB, free: 11.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.172, allocations: 0.669 MB / 0.7242 GB, free: 10.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.172, allocations: 11.44 kB / 0.7242 GB, free: 10.59 MB / 0.545 GB Notification: Performance of SimCode: time 3.2e-07/0.172, allocations: 4.125 kB / 0.7243 GB, free: 10.59 MB / 0.545 GB Notification: Performance of Templates: time 0.001812/0.1738, allocations: 486.9 kB / 0.7247 GB, free: 10.11 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.150082853855565] Failed to read output from testmodel.py, exit status != 0: 0.18193951691500843 0.19572219500000002 0.024089012 Calling exit ...