Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001302/0.001302, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.254 MB / 190.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 1.073/1.073, allocations: 143 MB / 433.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1559, allocations: 82.05 MB / 0.5944 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002675/0.1586, allocations: 1.264 MB / 0.5956 GB, free: 8.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1599, allocations: 0.615 MB / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.636e-05/0.1599, allocations: 0 / 0.5962 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.16, allocations: 3.938 kB / 0.5962 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.555e-05/0.16, allocations: 0 / 0.5962 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.1607, allocations: 139.4 kB / 0.5964 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.462e-05/0.1608, allocations: 23.92 kB / 0.5964 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.1609, allocations: 11.94 kB / 0.5964 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.1609, allocations: 7.938 kB / 0.5964 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.161, allocations: 15.97 kB / 0.5964 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.161, allocations: 4 kB / 0.5964 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005057/0.1615, allocations: 335.4 kB / 0.5968 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.982e-05/0.1615, allocations: 15.86 kB / 0.5968 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.814e-05/0.1615, allocations: 11.94 kB / 0.5968 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.1618, allocations: 144 kB / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1619, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1619, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.1619, allocations: 0 / 0.5969 GB, free: 6.879 MB / 0.4981 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.0004663/0.1623, allocations: 363.4 kB / 0.5973 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.1624, allocations: 12.56 kB / 0.5973 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4e-05/0.1624, allocations: 38.69 kB / 0.5973 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.1625, allocations: 4.922 kB / 0.5973 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.1626, allocations: 164.4 kB / 0.5975 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1626, allocations: 4.375 kB / 0.5975 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1627, allocations: 4.375 kB / 0.5975 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.1628, allocations: 42.25 kB / 0.5975 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.1628, allocations: 7.938 kB / 0.5975 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1628, allocations: 0 / 0.5975 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1628, allocations: 0 / 0.5975 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.348e-05/0.1629, allocations: 8 kB / 0.5975 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.1631, allocations: 153.7 kB / 0.5977 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.1633, allocations: 46.55 kB / 0.5977 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.881e-05/0.1633, allocations: 20.94 kB / 0.5978 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.1633, allocations: 4 kB / 0.5978 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1634, allocations: 34.56 kB / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1634, allocations: 0 / 0.5978 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0006765/0.1641, allocations: 326 kB / 0.5981 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.1641, allocations: 55.39 kB / 0.5982 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.1642, allocations: 97.8 kB / 0.5982 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.1642, allocations: 29.7 kB / 0.5983 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.917e-05/0.1642, allocations: 84.14 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1643, allocations: 15.8 kB / 0.5984 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.1643, allocations: 17.72 kB / 0.5984 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1644, allocations: 318.8 kB / 0.5987 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.947e-05/0.1645, allocations: 11.98 kB / 0.5987 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.1645, allocations: 8 kB / 0.5987 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.742e-05/0.1646, allocations: 32.86 kB / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1646, allocations: 0 / 0.5987 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.984e-05/0.1647, allocations: 73.53 kB / 0.5988 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1647, allocations: 4 kB / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1647, allocations: 0 / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1647, allocations: 0 / 0.5988 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.503e-05/0.1648, allocations: 23.92 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1648, allocations: 0 / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1648, allocations: 0.5156 kB / 0.5988 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.1648, allocations: 3.938 kB / 0.5988 GB, free: 4.629 MB / 0.4981 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 7.403e-05/0.1649, allocations: 113.8 kB / 0.599 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.291e-05/0.1649, allocations: 7.938 kB / 0.599 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001445/0.1651, allocations: 77.58 kB / 0.599 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1651, allocations: 0 / 0.599 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1651, allocations: 3.984 kB / 0.599 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1651, allocations: 0 / 0.599 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003143/0.1654, allocations: 311.4 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1654, allocations: 0 / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.315e-05/0.1655, allocations: 19.92 kB / 0.5994 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1655, allocations: 4.031 kB / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.1655, allocations: 0 / 0.5994 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.1655, allocations: 4 kB / 0.5994 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1655, allocations: 3.938 kB / 0.5994 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.1657, allocations: 180.4 kB / 0.5995 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.1658, allocations: 89.12 kB / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.1658, allocations: 0 / 0.5996 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.124e-05/0.1659, allocations: 4.062 kB / 0.5996 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1659, allocations: 11.92 kB / 0.5996 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-06/0.1659, allocations: 4 kB / 0.5996 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.1659, allocations: 79.28 kB / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1659, allocations: 0 / 0.5997 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002509/0.1662, allocations: 23.94 kB / 0.5997 GB, free: 3.594 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0005203/0.1667, allocations: 0.7366 MB / 0.6005 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1668, allocations: 35.92 kB / 0.6005 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1669, allocations: 0 / 0.6005 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.709e-05/0.1669, allocations: 15.94 kB / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.1671, allocations: 5.422 kB / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1684, allocations: 1.319 MB / 0.6018 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.1687, allocations: 0.6807 MB / 0.6025 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.611e-05/0.1688, allocations: 16.03 kB / 0.6025 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.689e-05/0.1688, allocations: 15.44 kB / 0.6025 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.003e-06/0.1688, allocations: 0 / 0.6025 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2646/0.4335, allocations: 1.615 MB / 0.6041 GB, free: 43.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.242/7.675, allocations: 9.875 kB / 0.6041 GB, free: 43.61 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)