Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",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.0007645/0.0007645, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.004796/0.004796, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.299/1.299, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.9495/0.9495, allocations: 143.2 MB / 434.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002949/0.0002949, allocations: 8 kB / 0.5165 GB, free: 11.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1552, allocations: 83.42 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001216/0.1565, allocations: 1.008 MB / 0.599 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000984/0.1575, allocations: 0.6268 MB / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.491e-05/0.1575, allocations: 0 / 0.5996 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.364e-05/0.1576, allocations: 4 kB / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.7e-05/0.1576, allocations: 0 / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.158, allocations: 129.9 kB / 0.5997 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.342e-05/0.1581, allocations: 27.92 kB / 0.5997 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.1581, allocations: 0 / 0.5997 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.1582, allocations: 19.92 kB / 0.5997 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.621e-05/0.1582, allocations: 7.984 kB / 0.5997 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1583, allocations: 0 / 0.5997 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004525/0.1587, allocations: 351.3 kB / 0.6001 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.533e-05/0.1587, allocations: 11.92 kB / 0.6001 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.242e-05/0.1588, allocations: 37.64 kB / 0.6001 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.159, allocations: 152 kB / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.159, allocations: 0 / 0.6003 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.159, allocations: 3.938 kB / 0.6003 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.159, allocations: 0 / 0.6003 GB, free: 5.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003547/0.1594, allocations: 359.4 kB / 0.6006 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.1595, allocations: 19.95 kB / 0.6006 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1595, allocations: 34.75 kB / 0.6007 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.696e-05/0.1595, allocations: 4.938 kB / 0.6007 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1596, allocations: 164.3 kB / 0.6008 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1597, allocations: 384 / 0.6008 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.1597, allocations: 8.375 kB / 0.6008 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.1598, allocations: 50.23 kB / 0.6009 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1598, allocations: 3.938 kB / 0.6009 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1598, allocations: 4 kB / 0.6009 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1598, allocations: 0 / 0.6009 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.906e-05/0.1599, allocations: 23.92 kB / 0.6009 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1601, allocations: 169.6 kB / 0.6011 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.587e-05/0.1602, allocations: 58.55 kB / 0.6011 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.763e-05/0.1602, allocations: 28.84 kB / 0.6012 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.1602, allocations: 0 / 0.6012 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1603, allocations: 34.56 kB / 0.6012 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.1603, allocations: 0 / 0.6012 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001039/0.1613, allocations: 0.5917 MB / 0.6018 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.1614, allocations: 55.41 kB / 0.6018 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.1614, allocations: 93.86 kB / 0.6019 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1615, allocations: 33.83 kB / 0.602 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.091e-05/0.1615, allocations: 80.14 kB / 0.602 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.1615, allocations: 43.38 kB / 0.6021 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.1616, allocations: 21.7 kB / 0.6021 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1617, allocations: 314.8 kB / 0.6024 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.17e-05/0.1617, allocations: 19.98 kB / 0.6024 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-05/0.1618, allocations: 35.92 kB / 0.6024 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.429e-05/0.1619, allocations: 51.11 kB / 0.6025 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.1619, allocations: 0 / 0.6025 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001368/0.162, allocations: 105.5 kB / 0.6026 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.162, allocations: 4 kB / 0.6026 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.162, allocations: 4 kB / 0.6026 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1621, allocations: 3.984 kB / 0.6026 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.75e-05/0.1622, allocations: 16 kB / 0.6026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1622, allocations: 0 / 0.6026 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.593e-05/0.1622, allocations: 8.094 kB / 0.6026 GB, free: 2.461 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1622, allocations: 3.938 kB / 0.6026 GB, free: 2.457 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 (13): * Single equations (assignments): 13 * 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.599e-05/0.1623, allocations: 117.8 kB / 0.6027 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.1623, allocations: 15.88 kB / 0.6028 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.1625, allocations: 93.64 kB / 0.6028 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1625, allocations: 7.938 kB / 0.6029 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1625, allocations: 4 kB / 0.6029 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1625, allocations: 0 / 0.6029 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.1629, allocations: 350.5 kB / 0.6032 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1629, allocations: 0 / 0.6032 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.163, allocations: 23.98 kB / 0.6032 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1631, allocations: 4 kB / 0.6032 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.1631, allocations: 0 / 0.6032 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1631, allocations: 0 / 0.6032 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1631, allocations: 4 kB / 0.6032 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.1633, allocations: 223.2 kB / 0.6034 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.1634, allocations: 85.05 kB / 0.6035 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.1634, allocations: 4 kB / 0.6035 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.917e-05/0.1635, allocations: 0 / 0.6035 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.1635, allocations: 12.05 kB / 0.6035 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.1635, allocations: 4 kB / 0.6035 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.269e-05/0.1636, allocations: 79.28 kB / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1636, allocations: 0 / 0.6036 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002628/0.1638, allocations: 39.98 kB / 0.6037 GB, free: 1.301 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (11): * Single equations (assignments): 11 * 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.0005777/0.1644, allocations: 0.7908 MB / 0.6044 GB, free: 496 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1646, allocations: 51.98 kB / 0.6045 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1646, allocations: 3.938 kB / 0.6045 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.111e-05/0.1646, allocations: 39.92 kB / 0.6045 GB, free: 400 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.1649, allocations: 12.17 kB / 0.6045 GB, free: 392 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2392/0.4041, allocations: 1.537 MB / 0.606 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.845e-05/0.4042, allocations: 0.6891 MB / 0.6067 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.121e-05/0.4043, allocations: 7.906 kB / 0.6067 GB, free: 39.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.157e-05/0.4043, allocations: 21.39 kB / 0.6067 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.4043, allocations: 0 / 0.6067 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009989/0.4143, allocations: 1.859 MB / 0.6085 GB, free: 39.53 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001328/0.4145, allocations: 255.9 kB / 0.6088 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.006, allocations: 0 / 0.6088 GB, free: 39.28 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)