Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.00139/0.00139, allocations: 120 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.001533/0.001533, allocations: 214.3 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.469/1.469, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9551/0.9551, allocations: 145 MB / 454.5 MB, free: 9.953 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.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",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.002001/0.002001, allocations: 64.58 kB / 0.6287 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1563, allocations: 87.83 MB / 0.7144 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002859/0.1591, allocations: 1.287 MB / 0.7157 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1637, allocations: 3.332 MB / 0.719 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.516e-05/0.1637, allocations: 0 / 0.719 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1637, allocations: 4 kB / 0.719 GB, free: 7.094 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.271e-05/0.1638, allocations: 11.91 kB / 0.719 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005466/0.1643, allocations: 107.5 kB / 0.7191 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.055e-05/0.1644, allocations: 39.84 kB / 0.7191 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1644, allocations: 4 kB / 0.7191 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.1645, allocations: 19.97 kB / 0.7191 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.019e-05/0.1646, allocations: 15.94 kB / 0.7192 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1646, allocations: 4 kB / 0.7192 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002614/0.1648, allocations: 87.78 kB / 0.7192 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1649, allocations: 8 kB / 0.7192 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.705e-05/0.1649, allocations: 15.91 kB / 0.7193 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.1651, allocations: 72.02 kB / 0.7193 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1651, allocations: 0 / 0.7193 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1651, allocations: 0 / 0.7193 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.1651, allocations: 0 / 0.7193 GB, free: 6.715 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004831/0.1656, allocations: 351.4 kB / 0.7197 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.1656, allocations: 8.031 kB / 0.7197 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.386e-05/0.1656, allocations: 4.188 kB / 0.7197 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.914e-05/0.1657, allocations: 38.75 kB / 0.7197 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.635e-05/0.1658, allocations: 8.891 kB / 0.7197 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.1659, allocations: 168.3 kB / 0.7199 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1659, allocations: 384 / 0.7199 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.166, allocations: 20 kB / 0.7199 GB, free: 6.035 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.1661, allocations: 53.61 kB / 0.72 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1661, allocations: 0 / 0.72 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1661, allocations: 8 kB / 0.72 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.339e-06/0.1661, allocations: 0 / 0.72 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.714e-05/0.1662, allocations: 15.98 kB / 0.72 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001971/0.1664, allocations: 165.7 kB / 0.7201 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.765e-05/0.1665, allocations: 42.56 kB / 0.7202 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.784e-05/0.1665, allocations: 20.8 kB / 0.7202 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007758/0.1673, allocations: 0.6026 MB / 0.7208 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.1673, allocations: 34.56 kB / 0.7208 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.753e-06/0.1673, allocations: 0 / 0.7208 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of matching and sorting (n=7): time 0.0006455/0.168, allocations: 294.3 kB / 0.7211 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.168, allocations: 55.41 kB / 0.7211 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.797e-05/0.1681, allocations: 109.8 kB / 0.7213 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1681, allocations: 25.7 kB / 0.7213 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.1682, allocations: 88.09 kB / 0.7214 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1682, allocations: 27.75 kB / 0.7214 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.1682, allocations: 25.7 kB / 0.7214 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1684, allocations: 314.8 kB / 0.7217 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/0.1684, allocations: 15.98 kB / 0.7217 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.1685, allocations: 57.08 kB / 0.7218 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.271e-05/0.1686, allocations: 69.09 kB / 0.7218 GB, free: 3.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1686, allocations: 3.938 kB / 0.7219 GB, free: 3.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001556/0.1687, allocations: 105.7 kB / 0.722 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1687, allocations: 4 kB / 0.722 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1687, allocations: 4 kB / 0.722 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.1688, allocations: 0 / 0.722 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1688, allocations: 23.98 kB / 0.722 GB, free: 3.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.1689, allocations: 7.875 kB / 0.722 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.1689, allocations: 0 / 0.722 GB, free: 3.566 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.1689, allocations: 4 kB / 0.722 GB, free: 3.562 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.718e-05/0.169, allocations: 118 kB / 0.7221 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.169, allocations: 4 kB / 0.7221 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.169, allocations: 11.95 kB / 0.7221 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.169, allocations: 0 / 0.7221 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.1691, allocations: 7.938 kB / 0.7221 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.1691, allocations: 0 / 0.7221 GB, free: 3.414 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002749/0.1693, allocations: 177.7 kB / 0.7223 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1693, allocations: 0 / 0.7223 GB, free: 3.191 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.602e-05/0.1694, allocations: 15.94 kB / 0.7223 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1694, allocations: 3.938 kB / 0.7223 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1694, allocations: 4.438 kB / 0.7223 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.1695, allocations: 7.984 kB / 0.7223 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.1695, allocations: 3.938 kB / 0.7223 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001994/0.1697, allocations: 167.6 kB / 0.7225 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.1697, allocations: 89.14 kB / 0.7226 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.1698, allocations: 4 kB / 0.7226 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.1699, allocations: 0 / 0.7226 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.1699, allocations: 11.92 kB / 0.7226 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1699, allocations: 8 kB / 0.7226 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.1699, allocations: 79.28 kB / 0.7227 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1699, allocations: 0 / 0.7227 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002421/0.1702, allocations: 12 kB / 0.7227 GB, free: 2.758 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0005318/0.1707, allocations: 0.7124 MB / 0.7234 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001417/0.1709, allocations: 39.97 kB / 0.7234 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1709, allocations: 0 / 0.7234 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.1709, allocations: 15.92 kB / 0.7234 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1712, allocations: 11.94 kB / 0.7235 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.1729, allocations: 1.528 MB / 0.7249 GB, free: 316 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1732, allocations: 0.6807 MB / 0.7256 GB, free: 15.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.649e-05/0.1733, allocations: 11.98 kB / 0.7256 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.1733, allocations: 15.44 kB / 0.7256 GB, free: 15.57 MB / 0.545 GB Notification: Performance of SimCode: time 4.31e-07/0.1733, allocations: 0 / 0.7256 GB, free: 15.57 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02006/0.1934, allocations: 1.73 MB / 0.7273 GB, free: 13.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.211/8.404, allocations: 6.094 kB / 0.7273 GB, free: 13.95 MB / 0.545 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.165451219014358] Failed to read output from testmodel.py, exit status != 0: 8.527658387029078 8.543133724 8.375021988 Calling exit ...