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.001784/0.001784, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002057/0.002057, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.504/1.504, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9207/0.9207, allocations: 144.9 MB / 454.5 MB, free: 10.02 MB / 350.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower",fmuType="cs",version="2.0",platforms={"static"}) [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.001916/0.001916, allocations: 65.72 kB / 0.6287 GB, free: 33.6 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1611, allocations: 87.84 MB / 0.7145 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower): time 0.002861/0.1639, allocations: 1.449 MB / 0.7159 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0008068/0.1647, allocations: 391.5 kB / 0.7163 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.605e-05/0.1648, allocations: 0 / 0.7163 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.983e-05/0.1648, allocations: 0 / 0.7163 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.549e-05/0.1648, allocations: 3.938 kB / 0.7163 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.1653, allocations: 119.7 kB / 0.7164 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.667e-05/0.1654, allocations: 23.92 kB / 0.7164 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.073e-05/0.1655, allocations: 8.266 kB / 0.7164 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.14e-05/0.1655, allocations: 11.94 kB / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.1656, allocations: 7.984 kB / 0.7164 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.1656, allocations: 4 kB / 0.7165 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003878/0.166, allocations: 275.6 kB / 0.7167 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.476e-05/0.166, allocations: 15.91 kB / 0.7167 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.166, allocations: 11.94 kB / 0.7167 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.1662, allocations: 107.6 kB / 0.7168 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1662, allocations: 0 / 0.7168 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1662, allocations: 4 kB / 0.7168 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.1662, allocations: 0 / 0.7168 GB, free: 9.305 MB / 0.5294 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.0005237/0.1668, allocations: 363.1 kB / 0.7172 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1668, allocations: 15.97 kB / 0.7172 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.241e-05/0.1668, allocations: 192 / 0.7172 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.108e-05/0.1668, allocations: 34.73 kB / 0.7172 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.1669, allocations: 8.938 kB / 0.7173 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.167, allocations: 168.3 kB / 0.7174 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.167, allocations: 4.375 kB / 0.7174 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1671, allocations: 4.375 kB / 0.7174 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.1672, allocations: 53.98 kB / 0.7175 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1673, allocations: 3.938 kB / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.1673, allocations: 0 / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1673, allocations: 0 / 0.7175 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1674, allocations: 35.95 kB / 0.7175 GB, free: 8.523 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003434/0.1678, allocations: 252.9 kB / 0.7178 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1679, allocations: 42.53 kB / 0.7178 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.232e-05/0.168, allocations: 20.91 kB / 0.7178 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000741/0.1688, allocations: 461.5 kB / 0.7183 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.1688, allocations: 42.5 kB / 0.7183 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.1688, allocations: 0 / 0.7183 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004062/0.1692, allocations: 85.64 kB / 0.7184 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.1692, allocations: 51.41 kB / 0.7184 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.961e-05/0.1693, allocations: 105.8 kB / 0.7185 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1693, allocations: 25.7 kB / 0.7185 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.1694, allocations: 88.06 kB / 0.7186 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.1694, allocations: 11.89 kB / 0.7186 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1694, allocations: 13.72 kB / 0.7187 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1696, allocations: 315 kB / 0.719 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.92e-05/0.1697, allocations: 19.98 kB / 0.719 GB, free: 6.805 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.652e-05/0.1698, allocations: 19.91 kB / 0.719 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1699, allocations: 44.77 kB / 0.719 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1699, allocations: 0 / 0.719 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002091/0.1701, allocations: 73.67 kB / 0.7191 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.1701, allocations: 4 kB / 0.7191 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.1701, allocations: 0 / 0.7191 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1702, allocations: 4 kB / 0.7191 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.35e-05/0.1702, allocations: 7.984 kB / 0.7191 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.1702, allocations: 0 / 0.7191 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.428e-05/0.1703, allocations: 4 kB / 0.7191 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1703, allocations: 0 / 0.7191 GB, free: 6.641 MB / 0.5294 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 8.746e-05/0.1704, allocations: 125.8 kB / 0.7192 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.1704, allocations: 3.938 kB / 0.7193 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002294/0.1706, allocations: 73.19 kB / 0.7193 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1706, allocations: 0 / 0.7193 GB, free: 6.426 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1706, allocations: 3.938 kB / 0.7193 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1707, allocations: 0 / 0.7193 GB, free: 6.422 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.1708, allocations: 165.6 kB / 0.7195 GB, free: 6.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1708, allocations: 4.25 kB / 0.7195 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.1709, allocations: 4 kB / 0.7195 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.1709, allocations: 8 kB / 0.7195 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1709, allocations: 3.984 kB / 0.7195 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1709, allocations: 0 / 0.7195 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1709, allocations: 0 / 0.7195 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1712, allocations: 175.3 kB / 0.7197 GB, free: 6.004 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.1712, allocations: 77.11 kB / 0.7197 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.1712, allocations: 4 kB / 0.7197 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.1713, allocations: 0 / 0.7197 GB, free: 5.906 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1713, allocations: 7.984 kB / 0.7198 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1713, allocations: 0 / 0.7198 GB, free: 5.898 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.229e-05/0.1714, allocations: 83.28 kB / 0.7198 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1714, allocations: 3.938 kB / 0.7198 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002253/0.1716, allocations: 12.03 kB / 0.7198 GB, free: 5.801 MB / 0.5294 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.0007307/0.1723, allocations: 0.7162 MB / 0.7205 GB, free: 5.059 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1726, allocations: 36 kB / 0.7206 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1726, allocations: 0 / 0.7206 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.804e-05/0.1727, allocations: 23.97 kB / 0.7206 GB, free: 5 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.173, allocations: 5.547 kB / 0.7206 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.1734, allocations: 147 kB / 0.7208 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.1738, allocations: 0.6768 MB / 0.7214 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.546e-05/0.1738, allocations: 12.06 kB / 0.7214 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1739, allocations: 7.438 kB / 0.7214 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1739, allocations: 0 / 0.7214 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.1914, allocations: 1.661 MB / 0.7231 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.455, allocations: 10.62 kB / 0.7231 GB, free: 2.535 MB / 0.5294 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_RegNonZeroPower.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.265298234997317] Failed to read output from testmodel.py, exit status != 0: 8.579824123997241 8.600097202 8.430236787 Calling exit ...