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: translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 110.1 kB / 16.41 MB, free: 6.488 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.001622/0.001622, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.303/1.303, 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.8638/0.8638, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 61.44 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1585, allocations: 82.05 MB / 0.6763 GB, free: 10.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002526/0.1611, allocations: 1.257 MB / 0.6775 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1621, allocations: 0.6191 MB / 0.6781 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.862e-05/0.1622, allocations: 0 / 0.6781 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.1622, allocations: 0 / 0.6781 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.2e-05/0.1623, allocations: 7.922 kB / 0.6782 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006393/0.1629, allocations: 150.5 kB / 0.6783 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.163, allocations: 23.88 kB / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1631, allocations: 0 / 0.6783 GB, free: 8.262 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.39e-05/0.1631, allocations: 15.97 kB / 0.6783 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.054e-05/0.1632, allocations: 7.938 kB / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1632, allocations: 0 / 0.6783 GB, free: 8.238 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004979/0.1637, allocations: 343.3 kB / 0.6787 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1637, allocations: 3.984 kB / 0.6787 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.913e-05/0.1637, allocations: 15.92 kB / 0.6787 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.164, allocations: 143.6 kB / 0.6788 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.164, allocations: 4 kB / 0.6788 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.164, allocations: 4 kB / 0.6788 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1641, allocations: 0 / 0.6788 GB, free: 7.734 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004228/0.1645, allocations: 359.4 kB / 0.6792 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.1645, allocations: 8.031 kB / 0.6792 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.1646, allocations: 4.844 kB / 0.6792 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.1647, allocations: 168.4 kB / 0.6793 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1647, allocations: 384 / 0.6793 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.1647, allocations: 384 / 0.6793 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1649, allocations: 50.19 kB / 0.6794 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1649, allocations: 192 / 0.6794 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.1649, allocations: 3.938 kB / 0.6794 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1649, allocations: 0 / 0.6794 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.687e-05/0.1649, allocations: 15.98 kB / 0.6794 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001635/0.1651, allocations: 153.7 kB / 0.6796 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.1653, allocations: 46.56 kB / 0.6796 GB, free: 6.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.446e-05/0.1654, allocations: 16.86 kB / 0.6796 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1654, allocations: 7.938 kB / 0.6796 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.1654, allocations: 30.56 kB / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1654, allocations: 0 / 0.6797 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6): time 0.0006567/0.1661, allocations: 322.2 kB / 0.68 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.1661, allocations: 55.41 kB / 0.68 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.168e-05/0.1662, allocations: 93.86 kB / 0.6801 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.1662, allocations: 29.7 kB / 0.6801 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.1663, allocations: 84.14 kB / 0.6802 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.1663, allocations: 15.7 kB / 0.6802 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.1663, allocations: 21.72 kB / 0.6803 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1665, allocations: 314.8 kB / 0.6806 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.948e-05/0.1665, allocations: 15.98 kB / 0.6806 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.1665, allocations: 7.938 kB / 0.6806 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.1666, allocations: 36.8 kB / 0.6806 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1666, allocations: 4 kB / 0.6806 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.91e-05/0.1667, allocations: 66.19 kB / 0.6807 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1667, allocations: 7.938 kB / 0.6807 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1667, allocations: 0 / 0.6807 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1667, allocations: 4 kB / 0.6807 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.348e-05/0.1668, allocations: 11.98 kB / 0.6807 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1668, allocations: 0 / 0.6807 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.1668, allocations: 4 kB / 0.6807 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1668, allocations: 4 kB / 0.6807 GB, free: 5.539 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 (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 7.249e-05/0.1669, allocations: 114.4 kB / 0.6808 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.1669, allocations: 11.84 kB / 0.6808 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/0.1671, allocations: 85.5 kB / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1671, allocations: 0 / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1671, allocations: 128 / 0.6809 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1671, allocations: 4 kB / 0.6809 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002993/0.1674, allocations: 315.4 kB / 0.6812 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1674, allocations: 0 / 0.6812 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.1675, allocations: 16.02 kB / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1675, allocations: 0 / 0.6812 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1675, allocations: 4 kB / 0.6812 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1675, allocations: 0 / 0.6812 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1675, allocations: 0 / 0.6812 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001829/0.1677, allocations: 184.3 kB / 0.6814 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1678, allocations: 89 kB / 0.6815 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1678, allocations: 64 / 0.6815 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1679, allocations: 8 kB / 0.6815 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.1679, allocations: 3.984 kB / 0.6815 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.1679, allocations: 4 kB / 0.6815 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.827e-05/0.168, allocations: 83.28 kB / 0.6816 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.168, allocations: 0 / 0.6816 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002453/0.1682, allocations: 16 kB / 0.6816 GB, free: 4.508 MB / 0.5137 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.0001983/0.1684, allocations: 119.2 kB / 0.6817 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.1685, allocations: 43.88 kB / 0.6818 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/0.1686, allocations: 0 / 0.6818 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.1686, allocations: 19.98 kB / 0.6818 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.1688, allocations: 18.47 kB / 0.6818 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004355/0.1693, allocations: 226.3 kB / 0.682 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.1695, allocations: 0.6807 MB / 0.6827 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.1696, allocations: 7.438 kB / 0.6827 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1696, allocations: 4 kB / 0.6827 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of Templates: time 0.002419/0.172, allocations: 0.8069 MB / 0.6835 GB, free: 2.527 MB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)