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.005327/0.005328, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001212/0.001212, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.306/1.306, 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.8625/0.8625, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 64.12 kB / 0.595 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1695, allocations: 82.04 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002814/0.1724, allocations: 1.275 MB / 0.6764 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1737, allocations: 0.6269 MB / 0.677 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.1737, allocations: 0 / 0.677 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.1738, allocations: 7.922 kB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.959e-05/0.1739, allocations: 0 / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.1745, allocations: 155.3 kB / 0.6772 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.1746, allocations: 35.84 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.006e-05/0.1747, allocations: 7.984 kB / 0.6772 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.63e-05/0.1747, allocations: 4 kB / 0.6772 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.841e-05/0.1748, allocations: 19.92 kB / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.1748, allocations: 0 / 0.6772 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005431/0.1754, allocations: 347.3 kB / 0.6776 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1754, allocations: 0 / 0.6776 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1754, allocations: 11.94 kB / 0.6776 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1757, allocations: 159.3 kB / 0.6777 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1758, allocations: 4 kB / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1758, allocations: 0 / 0.6777 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.1758, allocations: 0 / 0.6777 GB, free: 8.207 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.0004497/0.1762, allocations: 367.4 kB / 0.6781 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1763, allocations: 12.03 kB / 0.6781 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.1763, allocations: 34.75 kB / 0.6781 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.1764, allocations: 8.844 kB / 0.6781 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1765, allocations: 168.3 kB / 0.6783 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.1765, allocations: 384 / 0.6783 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.1766, allocations: 8.375 kB / 0.6783 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.1767, allocations: 50.25 kB / 0.6784 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1767, allocations: 3.938 kB / 0.6784 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1767, allocations: 0 / 0.6784 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.1768, allocations: 0 / 0.6784 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.912e-05/0.1768, allocations: 23.92 kB / 0.6784 GB, free: 7.441 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.177, allocations: 165.7 kB / 0.6785 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.1771, allocations: 62.55 kB / 0.6786 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.831e-05/0.1772, allocations: 32.86 kB / 0.6786 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.1772, allocations: 3.984 kB / 0.6786 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.1773, allocations: 34.5 kB / 0.6787 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1773, allocations: 0 / 0.6787 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001198/0.1785, allocations: 0.5993 MB / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1785, allocations: 55.41 kB / 0.6793 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.038e-05/0.1786, allocations: 93.86 kB / 0.6794 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1786, allocations: 29.7 kB / 0.6794 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.1787, allocations: 80.14 kB / 0.6795 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.1787, allocations: 39.45 kB / 0.6795 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1788, allocations: 25.83 kB / 0.6796 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1789, allocations: 322.8 kB / 0.6799 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.346e-05/0.1789, allocations: 19.98 kB / 0.6799 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.081e-05/0.179, allocations: 24 kB / 0.6799 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.1791, allocations: 60.22 kB / 0.68 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1791, allocations: 0 / 0.68 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002237/0.1793, allocations: 97.56 kB / 0.6801 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.1794, allocations: 9.719 kB / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1794, allocations: 0 / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1794, allocations: 0 / 0.6801 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1795, allocations: 23.98 kB / 0.6801 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1795, allocations: 3.938 kB / 0.6801 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.724e-05/0.1795, allocations: 8 kB / 0.6801 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.1796, allocations: 0 / 0.6801 GB, free: 5.461 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 (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 9.113e-05/0.1797, allocations: 117.8 kB / 0.6802 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.01e-05/0.1797, allocations: 11.84 kB / 0.6802 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002962/0.18, allocations: 105.7 kB / 0.6803 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.18, allocations: 4 kB / 0.6803 GB, free: 5.211 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.18, allocations: 7.984 kB / 0.6803 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.18, allocations: 0 / 0.6803 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004595/0.1805, allocations: 354.4 kB / 0.6807 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1805, allocations: 0 / 0.6807 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.1806, allocations: 23.98 kB / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.1806, allocations: 0 / 0.6807 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.1807, allocations: 4 kB / 0.6807 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.1807, allocations: 0 / 0.6807 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1807, allocations: 4 kB / 0.6807 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1809, allocations: 223.2 kB / 0.6809 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.181, allocations: 85.14 kB / 0.681 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.181, allocations: 0 / 0.681 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.921e-05/0.1811, allocations: 0 / 0.681 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.1811, allocations: 7.984 kB / 0.681 GB, free: 4.426 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.1811, allocations: 12 kB / 0.681 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.73e-05/0.1812, allocations: 75.28 kB / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1812, allocations: 0 / 0.6811 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002783/0.1815, allocations: 44.09 kB / 0.6811 GB, free: 4.297 MB / 0.5137 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.000706/0.1822, allocations: 0.7829 MB / 0.6819 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.1824, allocations: 59.97 kB / 0.682 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1824, allocations: 4 kB / 0.682 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.1824, allocations: 31.92 kB / 0.682 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.1827, allocations: 14.5 kB / 0.682 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.1843, allocations: 1.5 MB / 0.6835 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.1846, allocations: 0.6884 MB / 0.6841 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.188e-05/0.1846, allocations: 19.86 kB / 0.6842 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.1847, allocations: 23.42 kB / 0.6842 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1847, allocations: 0 / 0.6842 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02095/0.2056, allocations: 2.106 MB / 0.6862 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/8.01, allocations: 4.375 kB / 0.6863 GB, free: 15.12 MB / 0.5294 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)