Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001466/0.001466, 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.001639/0.001639, 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] 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.8581/0.8581, allocations: 145 MB / 458.2 MB, free: 15.54 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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.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.001998/0.001998, allocations: 62.41 kB / 0.6344 GB, free: 6.809 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.15, allocations: 87.88 MB / 0.7202 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002646/0.1527, allocations: 1.47 MB / 0.7217 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007257/0.1534, allocations: 383.5 kB / 0.722 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.1534, allocations: 4 kB / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.462e-05/0.1534, allocations: 0 / 0.722 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.412e-05/0.1535, allocations: 11.92 kB / 0.722 GB, free: 13.04 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1539, allocations: 115.6 kB / 0.7221 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.157e-05/0.154, allocations: 19.98 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.524e-05/0.1541, allocations: 7.938 kB / 0.7222 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.24e-05/0.1541, allocations: 15.92 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.22e-05/0.1542, allocations: 19.86 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.1542, allocations: 0 / 0.7222 GB, free: 12.87 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.1546, allocations: 279.7 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.1546, allocations: 8 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.219e-05/0.1546, allocations: 7.938 kB / 0.7225 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.1549, allocations: 115.6 kB / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1549, allocations: 0 / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1549, allocations: 0 / 0.7226 GB, free: 12.46 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.1549, allocations: 0 / 0.7226 GB, free: 12.46 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004515/0.1553, allocations: 286.1 kB / 0.7229 GB, free: 12.15 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.1554, allocations: 8.031 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1554, allocations: 4.938 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.1555, allocations: 114.4 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.1555, allocations: 4.375 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.1555, allocations: 4.375 kB / 0.723 GB, free: 12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1557, allocations: 46.23 kB / 0.723 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1557, allocations: 4.172 kB / 0.723 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.1557, allocations: 7.938 kB / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.1557, allocations: 0 / 0.7231 GB, free: 11.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.1559, allocations: 43.89 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003101/0.1562, allocations: 216 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1563, allocations: 42.55 kB / 0.7233 GB, free: 11.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.933e-05/0.1564, allocations: 24.84 kB / 0.7234 GB, free: 11.56 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/0.1569, allocations: 75.92 kB / 0.7234 GB, free: 11.48 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.157, allocations: 42.48 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.157, allocations: 0 / 0.7235 GB, free: 11.43 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003467/0.1573, allocations: 81.66 kB / 0.7236 GB, free: 11.35 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.1573, allocations: 51.41 kB / 0.7236 GB, free: 11.29 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.974e-05/0.1574, allocations: 105.8 kB / 0.7237 GB, free: 11.17 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1574, allocations: 25.7 kB / 0.7237 GB, free: 11.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1575, allocations: 80.14 kB / 0.7238 GB, free: 11.06 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.1575, allocations: 11.94 kB / 0.7238 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.1575, allocations: 17.84 kB / 0.7238 GB, free: 11.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1577, allocations: 310.8 kB / 0.7241 GB, free: 10.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/0.1577, allocations: 19.98 kB / 0.7242 GB, free: 10.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.1578, allocations: 15.97 kB / 0.7242 GB, free: 10.68 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.158, allocations: 45.02 kB / 0.7242 GB, free: 10.63 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.158, allocations: 4.062 kB / 0.7242 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002092/0.1582, allocations: 77.55 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1582, allocations: 4 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1582, allocations: 3.938 kB / 0.7243 GB, free: 10.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.1582, allocations: 4 kB / 0.7243 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.505e-05/0.1583, allocations: 7.984 kB / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1583, allocations: 0 / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1583, allocations: 8.031 kB / 0.7243 GB, free: 10.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-06/0.1583, allocations: 0 / 0.7243 GB, free: 10.52 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 (2): * Single equations (assignments): 2 * 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.621e-05/0.1584, allocations: 117.8 kB / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.716e-05/0.1584, allocations: 0 / 0.7244 GB, free: 10.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002221/0.1587, allocations: 81.2 kB / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1587, allocations: 0 / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1587, allocations: 0 / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1587, allocations: 4.031 kB / 0.7245 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001561/0.1588, allocations: 136.7 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1588, allocations: 3.984 kB / 0.7246 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-05/0.1589, allocations: 11.94 kB / 0.7247 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1589, allocations: 0 / 0.7247 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1589, allocations: 0 / 0.7247 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1589, allocations: 0 / 0.7247 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1589, allocations: 0 / 0.7247 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.1592, allocations: 175.3 kB / 0.7248 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.336e-06/0.1592, allocations: 4 kB / 0.7248 GB, free: 9.914 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.1592, allocations: 3.984 kB / 0.7248 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.801e-05/0.1592, allocations: 4 kB / 0.7248 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.599e-05/0.1593, allocations: 3.984 kB / 0.7248 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-06/0.1593, allocations: 0 / 0.7248 GB, free: 9.902 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.875e-05/0.1593, allocations: 83.28 kB / 0.7249 GB, free: 9.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1593, allocations: 8.031 kB / 0.7249 GB, free: 9.812 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002214/0.1596, allocations: 15.94 kB / 0.7249 GB, free: 9.797 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 (2): * Single equations (assignments): 2 * 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.0001588/0.1597, allocations: 107.2 kB / 0.725 GB, free: 9.684 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002053/0.1599, allocations: 35.97 kB / 0.7251 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1599, allocations: 0 / 0.7251 GB, free: 9.648 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/0.16, allocations: 23.97 kB / 0.7251 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1603, allocations: 12 kB / 0.7251 GB, free: 9.613 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.1605, allocations: 143.2 kB / 0.7252 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.1608, allocations: 0.6768 MB / 0.7259 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.21e-05/0.1608, allocations: 7.438 kB / 0.7259 GB, free: 8.734 MB / 0.545 GB Notification: Performance of SimCode: time 2.9e-07/0.1608, allocations: 0 / 0.7259 GB, free: 8.734 MB / 0.545 GB Notification: Performance of Templates: time 0.002325/0.1632, allocations: 0.7252 MB / 0.7266 GB, free: 8.012 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.130369927035645] Failed to read output from testmodel.py, exit status != 0: 0.1714825180824846 0.185367984 0.027600869 Calling exit ...