Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.007858/0.007858, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001803/0.001804, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.6.0/package.mo): time 0.8302/0.8302, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.64 kB / 0.5951 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1577, allocations: 82.04 MB / 0.6752 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002549/0.1603, allocations: 1.261 MB / 0.6764 GB, free: 9.574 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1614, allocations: 0.6152 MB / 0.677 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.781e-05/0.1614, allocations: 0 / 0.677 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.099e-05/0.1615, allocations: 3.938 kB / 0.677 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.119e-05/0.1615, allocations: 4 kB / 0.677 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006319/0.1622, allocations: 139.4 kB / 0.6771 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.1623, allocations: 23.86 kB / 0.6772 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.1623, allocations: 7.984 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.1623, allocations: 4 kB / 0.6772 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.922e-05/0.1624, allocations: 15.92 kB / 0.6772 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.117e-05/0.1624, allocations: 3.938 kB / 0.6772 GB, free: 8.758 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005016/0.1629, allocations: 343.4 kB / 0.6775 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.236e-05/0.163, allocations: 4 kB / 0.6775 GB, free: 8.418 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.163, allocations: 7.938 kB / 0.6775 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1633, allocations: 147.8 kB / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1633, allocations: 0 / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.813e-06/0.1633, allocations: 0 / 0.6777 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1633, allocations: 0 / 0.6777 GB, free: 8.266 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004741/0.1638, allocations: 359.1 kB / 0.678 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.1638, allocations: 12.03 kB / 0.678 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.776e-05/0.1639, allocations: 42.67 kB / 0.6781 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1639, allocations: 4.938 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.164, allocations: 180.2 kB / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.1641, allocations: 384 / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1641, allocations: 384 / 0.6782 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1642, allocations: 42.25 kB / 0.6783 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1642, allocations: 7.938 kB / 0.6783 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.1642, allocations: 0 / 0.6783 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.1642, allocations: 0 / 0.6783 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.163e-05/0.1643, allocations: 12 kB / 0.6783 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1645, allocations: 153.7 kB / 0.6785 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1647, allocations: 58.62 kB / 0.6785 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.1647, allocations: 16.84 kB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/0.1647, allocations: 4 kB / 0.6785 GB, free: 7.227 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1648, allocations: 30.56 kB / 0.6786 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.1648, allocations: 0 / 0.6786 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006435/0.1654, allocations: 306.3 kB / 0.6789 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.1655, allocations: 55.41 kB / 0.6789 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.947e-05/0.1655, allocations: 93.86 kB / 0.679 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1656, allocations: 29.7 kB / 0.679 GB, free: 6.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.273e-05/0.1656, allocations: 84.14 kB / 0.6791 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.1656, allocations: 19.78 kB / 0.6791 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.1657, allocations: 25.66 kB / 0.6791 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.1658, allocations: 322.8 kB / 0.6795 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.597e-05/0.1658, allocations: 15.92 kB / 0.6795 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.342e-05/0.1659, allocations: 11.98 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.54e-05/0.1659, allocations: 32.86 kB / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1659, allocations: 0 / 0.6795 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001072/0.166, allocations: 73.56 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1661, allocations: 4 kB / 0.6796 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1661, allocations: 0 / 0.6796 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1661, allocations: 4 kB / 0.6796 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.276e-05/0.1661, allocations: 15.92 kB / 0.6796 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1662, allocations: 4 kB / 0.6796 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.1662, allocations: 4 kB / 0.6796 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.1662, allocations: 4 kB / 0.6796 GB, free: 5.996 MB / 0.5137 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 (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 prepare postOptimizeDAE: time 6.767e-05/0.1663, allocations: 110.5 kB / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.524e-05/0.1663, allocations: 7.938 kB / 0.6797 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.1664, allocations: 73.64 kB / 0.6798 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1665, allocations: 0 / 0.6798 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1665, allocations: 0 / 0.6798 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1665, allocations: 0 / 0.6798 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003342/0.1668, allocations: 319.4 kB / 0.6801 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1668, allocations: 192 / 0.6801 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.1669, allocations: 19.92 kB / 0.6801 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1669, allocations: 0 / 0.6801 GB, free: 5.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.1669, allocations: 4 kB / 0.6801 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1669, allocations: 0 / 0.6801 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1669, allocations: 0 / 0.6801 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.1671, allocations: 184.4 kB / 0.6803 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.1672, allocations: 81.09 kB / 0.6804 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.686e-05/0.1672, allocations: 4 kB / 0.6804 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.846e-05/0.1673, allocations: 4 kB / 0.6804 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.661e-05/0.1673, allocations: 3.984 kB / 0.6804 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1673, allocations: 4.516 kB / 0.6804 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.886e-05/0.1674, allocations: 79.28 kB / 0.6805 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.853e-06/0.1674, allocations: 3.938 kB / 0.6805 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002563/0.1676, allocations: 27.94 kB / 0.6805 GB, free: 4.977 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_comp) * 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 (6): * Single equations (assignments): 6 * 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.0005018/0.1682, allocations: 0.7404 MB / 0.6812 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001151/0.1683, allocations: 35.92 kB / 0.6813 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.1683, allocations: 4.062 kB / 0.6813 GB, free: 4.168 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.1683, allocations: 16 kB / 0.6813 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000233/0.1686, allocations: 8.75 kB / 0.6813 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1698, allocations: 1.321 MB / 0.6826 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.1701, allocations: 0.6768 MB / 0.6832 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.263e-05/0.1701, allocations: 7.984 kB / 0.6832 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.642e-05/0.1701, allocations: 15.44 kB / 0.6833 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.1702, allocations: 0 / 0.6833 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02646/0.1966, allocations: 1.63 MB / 0.6849 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.572, allocations: 13.03 kB / 0.6849 GB, free: 0.5586 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)