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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001489/0.00149, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001434/0.001434, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.305/1.305, allocations: 222.9 MB / 241 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.8609/0.8609, allocations: 143 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 69.56 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1668, allocations: 82.03 MB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002807/0.1697, allocations: 1.28 MB / 0.6776 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1709, allocations: 0.6152 MB / 0.6782 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.1709, allocations: 0 / 0.6782 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.19e-05/0.1709, allocations: 3.984 kB / 0.6782 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.402e-05/0.171, allocations: 7.938 kB / 0.6782 GB, free: 8.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006805/0.1717, allocations: 155.4 kB / 0.6783 GB, free: 8.379 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1718, allocations: 27.86 kB / 0.6783 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.1719, allocations: 4 kB / 0.6783 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.286e-05/0.1719, allocations: 19.97 kB / 0.6784 GB, free: 8.328 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.288e-05/0.172, allocations: 11.92 kB / 0.6784 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.172, allocations: 0 / 0.6784 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.1726, allocations: 347.3 kB / 0.6787 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.1726, allocations: 4 kB / 0.6787 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.94e-05/0.1726, allocations: 19.94 kB / 0.6787 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1729, allocations: 159.5 kB / 0.6789 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.173, allocations: 0 / 0.6789 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.173, allocations: 4 kB / 0.6789 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.187e-06/0.173, allocations: 0 / 0.6789 GB, free: 7.793 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.0004747/0.1735, allocations: 359.4 kB / 0.6792 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.1735, allocations: 12.03 kB / 0.6792 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.1736, allocations: 4.844 kB / 0.6792 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.1737, allocations: 172.3 kB / 0.6794 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1737, allocations: 8.312 kB / 0.6794 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.814e-05/0.1737, allocations: 8.359 kB / 0.6794 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.1739, allocations: 50.25 kB / 0.6795 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1739, allocations: 4.125 kB / 0.6795 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.1739, allocations: 3.938 kB / 0.6795 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1739, allocations: 0 / 0.6795 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.174, allocations: 19.98 kB / 0.6795 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001933/0.1742, allocations: 161.7 kB / 0.6797 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.1743, allocations: 58.56 kB / 0.6797 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.626e-05/0.1744, allocations: 32.84 kB / 0.6797 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1744, allocations: 4 kB / 0.6797 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.1744, allocations: 34.5 kB / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.1744, allocations: 0 / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001269/0.1757, allocations: 0.5955 MB / 0.6804 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.1758, allocations: 51.41 kB / 0.6804 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.556e-05/0.1759, allocations: 101.8 kB / 0.6805 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.1759, allocations: 25.7 kB / 0.6805 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.1759, allocations: 84.14 kB / 0.6806 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.119e-05/0.176, allocations: 39.44 kB / 0.6807 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.176, allocations: 29.84 kB / 0.6807 GB, free: 5.664 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000187/0.1762, allocations: 318.8 kB / 0.681 GB, free: 5.344 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.932e-05/0.1763, allocations: 16 kB / 0.681 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.1763, allocations: 31.23 kB / 0.681 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.019e-05/0.1764, allocations: 56.86 kB / 0.6811 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1764, allocations: 3.984 kB / 0.6811 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001452/0.1766, allocations: 97.56 kB / 0.6812 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.1766, allocations: 5.875 kB / 0.6812 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1766, allocations: 0 / 0.6812 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1766, allocations: 8 kB / 0.6812 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.1767, allocations: 19.98 kB / 0.6812 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.751e-05/0.1767, allocations: 0 / 0.6812 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.765e-05/0.1768, allocations: 7.938 kB / 0.6812 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1768, allocations: 4 kB / 0.6812 GB, free: 5.094 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 8.255e-05/0.1769, allocations: 118.4 kB / 0.6813 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/0.1769, allocations: 11.84 kB / 0.6813 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001925/0.1771, allocations: 109.6 kB / 0.6815 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.1771, allocations: 4 kB / 0.6815 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.1771, allocations: 0 / 0.6815 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1771, allocations: 4 kB / 0.6815 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003992/0.1775, allocations: 350.4 kB / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1775, allocations: 0 / 0.6818 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.1777, allocations: 23.98 kB / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1777, allocations: 0 / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.1777, allocations: 0 / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1777, allocations: 0 / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.1777, allocations: 0 / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.178, allocations: 227.2 kB / 0.682 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.178, allocations: 77.11 kB / 0.6821 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.178, allocations: 12.02 kB / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.871e-05/0.1781, allocations: 0 / 0.6821 GB, free: 4.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.1782, allocations: 4 kB / 0.6821 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1782, allocations: 8 kB / 0.6821 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.122e-05/0.1782, allocations: 79.27 kB / 0.6822 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1782, allocations: 4.156 kB / 0.6822 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002823/0.1785, allocations: 35.94 kB / 0.6822 GB, free: 3.941 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.0002408/0.1788, allocations: 139.2 kB / 0.6824 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001645/0.1789, allocations: 67.86 kB / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1789, allocations: 0 / 0.6824 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.179, allocations: 31.92 kB / 0.6825 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.1792, allocations: 9.469 kB / 0.6825 GB, free: 3.691 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006754/0.1799, allocations: 306.5 kB / 0.6828 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.1803, allocations: 0.6885 MB / 0.6834 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.6e-05/0.1803, allocations: 19.36 kB / 0.6835 GB, free: 2.625 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1803, allocations: 3.938 kB / 0.6835 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of Templates: time 0.003179/0.1835, allocations: 1.154 MB / 0.6846 GB, free: 1.473 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)