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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005432/0.005432, allocations: 97.62 kB / 15.73 MB, free: 6.055 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.001226/0.001226, allocations: 198.7 kB / 16.68 MB, free: 5.961 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.6.0-master/package.mo): time 0.9215/0.9215, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 73.22 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1644, allocations: 82.04 MB / 0.6754 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002216/0.1667, allocations: 1.261 MB / 0.6766 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003893/0.1706, allocations: 3.272 MB / 0.6798 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.046e-05/0.1706, allocations: 0 / 0.6798 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.1707, allocations: 3.938 kB / 0.6798 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.1707, allocations: 3.984 kB / 0.6798 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005283/0.1713, allocations: 115.5 kB / 0.6799 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.1714, allocations: 31.91 kB / 0.68 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.1714, allocations: 4 kB / 0.68 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.1715, allocations: 19.92 kB / 0.68 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.1716, allocations: 19.92 kB / 0.68 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.162e-05/0.1716, allocations: 0 / 0.68 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002477/0.1718, allocations: 79.73 kB / 0.6801 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.1719, allocations: 7.984 kB / 0.6801 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.753e-05/0.1719, allocations: 19.94 kB / 0.6801 GB, free: 5.77 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1721, allocations: 76.06 kB / 0.6802 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1721, allocations: 0 / 0.6802 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.324e-06/0.1722, allocations: 0 / 0.6802 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.1722, allocations: 0 / 0.6802 GB, free: 5.695 MB / 0.5137 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.0004694/0.1726, allocations: 347.3 kB / 0.6805 GB, free: 5.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.1727, allocations: 8.031 kB / 0.6805 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.826e-05/0.1727, allocations: 38.73 kB / 0.6806 GB, free: 5.254 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.1729, allocations: 4.938 kB / 0.6806 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.173, allocations: 164.4 kB / 0.6807 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.173, allocations: 4.375 kB / 0.6807 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.648e-05/0.1731, allocations: 8.312 kB / 0.6807 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.1732, allocations: 57.61 kB / 0.6808 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1732, allocations: 4 kB / 0.6808 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.1732, allocations: 0 / 0.6808 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1732, allocations: 0 / 0.6808 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.1e-05/0.1733, allocations: 23.97 kB / 0.6808 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.1735, allocations: 169.5 kB / 0.681 GB, free: 4.734 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.1736, allocations: 58.5 kB / 0.681 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.1737, allocations: 20.84 kB / 0.681 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008032/0.1745, allocations: 0.5869 MB / 0.6816 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.1745, allocations: 38.44 kB / 0.6817 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1745, allocations: 0 / 0.6817 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0006235/0.1752, allocations: 306.5 kB / 0.6819 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1752, allocations: 59.39 kB / 0.682 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.1753, allocations: 101.8 kB / 0.6821 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1753, allocations: 25.7 kB / 0.6821 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.1754, allocations: 88.09 kB / 0.6822 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.1754, allocations: 31.73 kB / 0.6822 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.1755, allocations: 25.72 kB / 0.6823 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1756, allocations: 318.8 kB / 0.6826 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.773e-05/0.1757, allocations: 15.94 kB / 0.6826 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.07e-05/0.1757, allocations: 49.14 kB / 0.6826 GB, free: 2.785 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.804e-05/0.1758, allocations: 77.08 kB / 0.6827 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1759, allocations: 0 / 0.6827 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001427/0.176, allocations: 94.27 kB / 0.6828 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.176, allocations: 4 kB / 0.6828 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.176, allocations: 7.984 kB / 0.6828 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1761, allocations: 4.125 kB / 0.6828 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.529e-05/0.1761, allocations: 23.94 kB / 0.6828 GB, free: 2.555 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.1762, allocations: 7.984 kB / 0.6828 GB, free: 2.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.643e-05/0.1762, allocations: 3.938 kB / 0.6828 GB, free: 2.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1762, allocations: 4 kB / 0.6828 GB, free: 2.539 MB / 0.5137 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.167e-05/0.1763, allocations: 113.8 kB / 0.683 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.1763, allocations: 7.953 kB / 0.683 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.543e-05/0.1764, allocations: 7.969 kB / 0.683 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1764, allocations: 0 / 0.683 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1764, allocations: 4 kB / 0.683 GB, free: 2.402 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.1764, allocations: 7.938 kB / 0.683 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002504/0.1766, allocations: 173.7 kB / 0.6831 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1766, allocations: 7.875 kB / 0.6832 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.986e-05/0.1767, allocations: 15.98 kB / 0.6832 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.1767, allocations: 0 / 0.6832 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.1768, allocations: 0 / 0.6832 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1768, allocations: 0 / 0.6832 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1768, allocations: 4 kB / 0.6832 GB, free: 2.148 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001847/0.177, allocations: 179.4 kB / 0.6833 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.177, allocations: 81.11 kB / 0.6834 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.177, allocations: 4 kB / 0.6834 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.1772, allocations: 4.031 kB / 0.6834 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1772, allocations: 15.81 kB / 0.6834 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1772, allocations: 4 kB / 0.6834 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.955e-05/0.1772, allocations: 79.28 kB / 0.6835 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1772, allocations: 0 / 0.6835 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000232/0.1775, allocations: 15.98 kB / 0.6835 GB, free: 1.738 MB / 0.5137 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.0004919/0.178, allocations: 0.7126 MB / 0.6842 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.1781, allocations: 43.86 kB / 0.6843 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1781, allocations: 4.25 kB / 0.6843 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.1782, allocations: 12 kB / 0.6843 GB, free: 0.9375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.1785, allocations: 11.94 kB / 0.6843 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.18, allocations: 1.535 MB / 0.6858 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.1803, allocations: 0.6846 MB / 0.6865 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 4.62e-05/0.1804, allocations: 4 kB / 0.6865 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.414e-05/0.1804, allocations: 15.38 kB / 0.6865 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.1804, allocations: 0 / 0.6865 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03194/0.2124, allocations: 1.672 MB / 0.6881 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.131/8.344, allocations: 4.969 kB / 0.6881 GB, free: 12.96 MB / 0.5294 GB (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 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)