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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001469/0.001469, allocations: 192.9 kB / 16.14 MB, free: 6.688 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.297/1.297, allocations: 222.9 MB / 239.8 MB, free: 4.629 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 0.9415/0.9415, allocations: 143 MB / 433 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.91 kB / 0.5136 GB, free: 12.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1589, allocations: 82.04 MB / 0.5937 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002196/0.1611, allocations: 1.321 MB / 0.595 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009864/0.1621, allocations: 0.6385 MB / 0.5956 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.347e-05/0.1621, allocations: 3.938 kB / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.753e-05/0.1621, allocations: 0 / 0.5957 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.1622, allocations: 3.984 kB / 0.5957 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004101/0.1626, allocations: 119.6 kB / 0.5958 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.388e-05/0.1627, allocations: 19.94 kB / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.1627, allocations: 0 / 0.5958 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.279e-05/0.1627, allocations: 15.91 kB / 0.5958 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.853e-05/0.1628, allocations: 11.94 kB / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.026e-05/0.1628, allocations: 0 / 0.5958 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.1633, allocations: 335.4 kB / 0.5961 GB, free: 7.508 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.1633, allocations: 7.984 kB / 0.5961 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.134e-05/0.1633, allocations: 11.92 kB / 0.5962 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.1636, allocations: 147.9 kB / 0.5963 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1636, allocations: 3.938 kB / 0.5963 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.71e-07/0.1636, allocations: 0 / 0.5963 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.1636, allocations: 0 / 0.5963 GB, free: 7.34 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.0003853/0.164, allocations: 363.4 kB / 0.5966 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.164, allocations: 8.031 kB / 0.5967 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.723e-05/0.1641, allocations: 38.75 kB / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.1641, allocations: 0.9375 kB / 0.5967 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.1642, allocations: 164.3 kB / 0.5968 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.1642, allocations: 4.375 kB / 0.5969 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1642, allocations: 12.3 kB / 0.5969 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.141e-05/0.1643, allocations: 42.25 kB / 0.5969 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1643, allocations: 3.938 kB / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.595e-06/0.1644, allocations: 0 / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1644, allocations: 0 / 0.5969 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.888e-05/0.1644, allocations: 15.98 kB / 0.5969 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000141/0.1645, allocations: 153.7 kB / 0.5971 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1647, allocations: 50.5 kB / 0.5971 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.1648, allocations: 16.86 kB / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1648, allocations: 0 / 0.5971 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/0.1648, allocations: 30.56 kB / 0.5972 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.1648, allocations: 4 kB / 0.5972 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0005662/0.1654, allocations: 314.1 kB / 0.5975 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.1654, allocations: 59.41 kB / 0.5975 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.233e-05/0.1655, allocations: 93.86 kB / 0.5976 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.1655, allocations: 29.64 kB / 0.5976 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.391e-05/0.1655, allocations: 84.14 kB / 0.5977 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.1656, allocations: 15.8 kB / 0.5977 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.1656, allocations: 21.66 kB / 0.5978 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.1657, allocations: 322.8 kB / 0.5981 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.1657, allocations: 4 kB / 0.5981 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.205e-05/0.1658, allocations: 12 kB / 0.5981 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.161e-05/0.1658, allocations: 40.84 kB / 0.5981 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.22e-07/0.1658, allocations: 0 / 0.5981 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.415e-05/0.1659, allocations: 69.53 kB / 0.5982 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.166, allocations: 7.984 kB / 0.5982 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.166, allocations: 64 / 0.5982 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.166, allocations: 4 kB / 0.5982 GB, free: 5.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.166, allocations: 15.94 kB / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1661, allocations: 240 / 0.5982 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.951e-05/0.1661, allocations: 4 kB / 0.5982 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-06/0.1661, allocations: 0 / 0.5982 GB, free: 5.094 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 5.919e-05/0.1662, allocations: 113.8 kB / 0.5983 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.1662, allocations: 4.453 kB / 0.5983 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.1663, allocations: 77.64 kB / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1663, allocations: 0 / 0.5984 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1663, allocations: 3.938 kB / 0.5984 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1663, allocations: 3.984 kB / 0.5984 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.1666, allocations: 315.4 kB / 0.5987 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1667, allocations: 0 / 0.5987 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-05/0.1667, allocations: 19.92 kB / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1667, allocations: 0 / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-06/0.1667, allocations: 0 / 0.5987 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.1667, allocations: 4 kB / 0.5987 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1668, allocations: 3.984 kB / 0.5987 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.1669, allocations: 184.3 kB / 0.5989 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.167, allocations: 81.14 kB / 0.599 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.167, allocations: 7.938 kB / 0.599 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.045e-05/0.1671, allocations: 3.984 kB / 0.599 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.666e-05/0.1671, allocations: 4 kB / 0.599 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.1671, allocations: 4.188 kB / 0.599 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.142e-05/0.1671, allocations: 75.28 kB / 0.5991 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1672, allocations: 3.938 kB / 0.5991 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002398/0.1674, allocations: 27.94 kB / 0.5991 GB, free: 4.059 MB / 0.4981 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.0004614/0.1679, allocations: 0.7367 MB / 0.5998 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.206e-05/0.168, allocations: 35.92 kB / 0.5999 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.168, allocations: 0 / 0.5999 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.868e-05/0.168, allocations: 19.98 kB / 0.5999 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002135/0.1682, allocations: 8.125 kB / 0.5999 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1693, allocations: 1.326 MB / 0.6012 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.1696, allocations: 0.6809 MB / 0.6019 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.81e-05/0.1696, allocations: 96 / 0.6019 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.1697, allocations: 19.36 kB / 0.6019 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1697, allocations: 0 / 0.6019 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2408/0.4104, allocations: 1.463 MB / 0.6033 GB, free: 43.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001681/0.4106, allocations: 251.4 kB / 0.6035 GB, free: 43.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/1.998, allocations: 0.7031 kB / 0.6035 GB, free: 43.14 MB / 0.4981 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)