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.001576/0.001576, allocations: 112.1 kB / 16.37 MB, free: 6.344 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.001741/0.001741, allocations: 185.5 kB / 17.3 MB, free: 5.898 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.18 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.8624/0.8624, allocations: 143.1 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 72.72 kB / 0.5961 GB, free: 12.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1639, allocations: 82.03 MB / 0.6763 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002365/0.1663, allocations: 1.277 MB / 0.6775 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1674, allocations: 0.623 MB / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.904e-05/0.1675, allocations: 0 / 0.6781 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.1675, allocations: 4 kB / 0.6781 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.07e-05/0.1676, allocations: 7.938 kB / 0.6781 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.1681, allocations: 150.5 kB / 0.6783 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.726e-05/0.1682, allocations: 27.86 kB / 0.6783 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.1682, allocations: 4 kB / 0.6783 GB, free: 8.32 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.1683, allocations: 15.98 kB / 0.6783 GB, free: 8.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1683, allocations: 19.86 kB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1683, allocations: 0 / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004683/0.1688, allocations: 347.4 kB / 0.6787 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.159e-05/0.1688, allocations: 0 / 0.6787 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.939e-05/0.1689, allocations: 19.92 kB / 0.6787 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.1691, allocations: 155.5 kB / 0.6788 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1691, allocations: 0 / 0.6788 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.775e-06/0.1692, allocations: 4 kB / 0.6788 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.1692, allocations: 0 / 0.6788 GB, free: 7.77 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.000438/0.1696, allocations: 366.2 kB / 0.6792 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.1696, allocations: 12.03 kB / 0.6792 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1697, allocations: 8.844 kB / 0.6792 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.1698, allocations: 172.3 kB / 0.6794 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1698, allocations: 384 / 0.6794 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.1699, allocations: 8.375 kB / 0.6794 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.17, allocations: 46.25 kB / 0.6794 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.17, allocations: 192 / 0.6794 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.17, allocations: 3.938 kB / 0.6794 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.17, allocations: 3.984 kB / 0.6794 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.015e-05/0.1701, allocations: 16 kB / 0.6794 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.1703, allocations: 169.7 kB / 0.6796 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.1704, allocations: 58.5 kB / 0.6797 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.1705, allocations: 28.84 kB / 0.6797 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.1705, allocations: 4.234 kB / 0.6797 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1705, allocations: 34.56 kB / 0.6797 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.1705, allocations: 0 / 0.6797 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001126/0.1716, allocations: 0.5992 MB / 0.6803 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1717, allocations: 51.41 kB / 0.6804 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.292e-05/0.1718, allocations: 97.86 kB / 0.6804 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.585e-05/0.1718, allocations: 25.7 kB / 0.6805 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.1718, allocations: 92.27 kB / 0.6806 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1719, allocations: 39.44 kB / 0.6806 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.179e-05/0.1719, allocations: 29.7 kB / 0.6806 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.172, allocations: 310.8 kB / 0.6809 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.3e-05/0.1721, allocations: 27.92 kB / 0.6809 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.733e-05/0.1721, allocations: 23.98 kB / 0.681 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1722, allocations: 56.86 kB / 0.681 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.1723, allocations: 0 / 0.681 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001372/0.1724, allocations: 101 kB / 0.6811 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1724, allocations: 8 kB / 0.6811 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1724, allocations: 7.969 kB / 0.6811 GB, free: 5.098 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1725, allocations: 4 kB / 0.6811 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.1726, allocations: 19.94 kB / 0.6812 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1726, allocations: 0 / 0.6812 GB, free: 5.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.272e-05/0.1726, allocations: 3.938 kB / 0.6812 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1726, allocations: 4 kB / 0.6812 GB, free: 5.066 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 7.985e-05/0.1727, allocations: 117.8 kB / 0.6813 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.735e-05/0.1727, allocations: 11.84 kB / 0.6813 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001924/0.1729, allocations: 105.6 kB / 0.6814 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1729, allocations: 0 / 0.6814 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.173, allocations: 3.938 kB / 0.6814 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.173, allocations: 4 kB / 0.6814 GB, free: 4.812 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.1734, allocations: 350.5 kB / 0.6817 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1734, allocations: 0 / 0.6817 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1735, allocations: 31.92 kB / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1735, allocations: 0 / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1735, allocations: 0 / 0.6818 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1735, allocations: 4 kB / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1735, allocations: 0 / 0.6818 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.1738, allocations: 223.3 kB / 0.682 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.576e-05/0.1738, allocations: 77.11 kB / 0.6821 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.1738, allocations: 4.031 kB / 0.6821 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.1739, allocations: 4 kB / 0.6821 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.018e-05/0.174, allocations: 7.984 kB / 0.6821 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.174, allocations: 4 kB / 0.6821 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.28e-05/0.174, allocations: 79.34 kB / 0.6821 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.174, allocations: 0 / 0.6821 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002726/0.1743, allocations: 39.92 kB / 0.6822 GB, free: 3.914 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.0002057/0.1745, allocations: 139.2 kB / 0.6823 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001533/0.1747, allocations: 63.91 kB / 0.6824 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1747, allocations: 0 / 0.6824 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.042e-05/0.1747, allocations: 35.92 kB / 0.6824 GB, free: 3.672 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.175, allocations: 9.312 kB / 0.6824 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.1755, allocations: 314.4 kB / 0.6827 GB, free: 3.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1758, allocations: 0.6885 MB / 0.6834 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.1758, allocations: 15.44 kB / 0.6834 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1758, allocations: 0 / 0.6834 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of Templates: time 0.002739/0.1786, allocations: 1.154 MB / 0.6845 GB, free: 1.445 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)