Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 105.8 kB / 16.41 MB, free: 6.496 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.001153/0.001153, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.09 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.8031/0.8031, allocations: 143.1 MB / 434.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00112/0.001121, allocations: 67.42 kB / 0.5962 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1571, allocations: 82.03 MB / 0.6763 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002951/0.1601, allocations: 1.475 MB / 0.6777 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1613, allocations: 0.6344 MB / 0.6784 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.018e-05/0.1614, allocations: 4 kB / 0.6784 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.297e-05/0.1614, allocations: 3.938 kB / 0.6784 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.902e-05/0.1615, allocations: 7.922 kB / 0.6784 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000698/0.1622, allocations: 163.4 kB / 0.6785 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.572e-05/0.1623, allocations: 47.84 kB / 0.6786 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.772e-05/0.1623, allocations: 7.938 kB / 0.6786 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.1624, allocations: 23.97 kB / 0.6786 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.797e-05/0.1625, allocations: 27.86 kB / 0.6786 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.1625, allocations: 4 kB / 0.6786 GB, free: 7.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.163, allocations: 343.4 kB / 0.679 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.613e-05/0.1631, allocations: 11.98 kB / 0.679 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.1632, allocations: 19.88 kB / 0.679 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003466/0.1635, allocations: 183.5 kB / 0.6792 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1635, allocations: 4 kB / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1635, allocations: 0 / 0.6792 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.1635, allocations: 0 / 0.6792 GB, free: 7.359 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006126/0.1642, allocations: 403.2 kB / 0.6796 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1642, allocations: 8.031 kB / 0.6796 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.765e-05/0.1643, allocations: 16.72 kB / 0.6796 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.1644, allocations: 164.4 kB / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.1644, allocations: 384 / 0.6797 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1644, allocations: 12.38 kB / 0.6798 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1647, allocations: 85.2 kB / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1647, allocations: 192 / 0.6798 GB, free: 6.594 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.1647, allocations: 3.938 kB / 0.6798 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1647, allocations: 0 / 0.6798 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.165, allocations: 55.89 kB / 0.6799 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.1656, allocations: 328.6 kB / 0.6802 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002891/0.1659, allocations: 78.47 kB / 0.6803 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.166, allocations: 28.84 kB / 0.6803 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.166, allocations: 4 kB / 0.6803 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.166, allocations: 34.56 kB / 0.6804 GB, free: 6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.166, allocations: 0 / 0.6804 GB, free: 6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001582/0.1676, allocations: 0.6498 MB / 0.681 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.1677, allocations: 51.41 kB / 0.681 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.239e-05/0.1678, allocations: 105.8 kB / 0.6811 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1678, allocations: 29.7 kB / 0.6812 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.1678, allocations: 88.05 kB / 0.6812 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.1679, allocations: 39.39 kB / 0.6813 GB, free: 4.918 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.168, allocations: 29.7 kB / 0.6813 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1681, allocations: 322.8 kB / 0.6816 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.1682, allocations: 32.09 kB / 0.6817 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.1684, allocations: 35.92 kB / 0.6817 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002273/0.1686, allocations: 72.83 kB / 0.6818 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.1686, allocations: 4 kB / 0.6818 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002927/0.1689, allocations: 116.8 kB / 0.6819 GB, free: 4.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.1689, allocations: 15.98 kB / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1689, allocations: 0 / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.169, allocations: 0 / 0.6819 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.1691, allocations: 27.92 kB / 0.6819 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1691, allocations: 0 / 0.6819 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.11e-05/0.1692, allocations: 7.938 kB / 0.6819 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.1692, allocations: 8 kB / 0.6819 GB, free: 4.238 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.811e-05/0.1693, allocations: 122.4 kB / 0.682 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.1693, allocations: 4 kB / 0.682 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003517/0.1697, allocations: 129.6 kB / 0.6822 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1697, allocations: 0 / 0.6822 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1697, allocations: 0 / 0.6822 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1697, allocations: 7.922 kB / 0.6822 GB, free: 3.961 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006288/0.1703, allocations: 382.4 kB / 0.6825 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1704, allocations: 0 / 0.6825 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1705, allocations: 31.92 kB / 0.6826 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1705, allocations: 0 / 0.6826 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1705, allocations: 15.92 kB / 0.6826 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1705, allocations: 0 / 0.6826 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1706, allocations: 0 / 0.6826 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.171, allocations: 243.7 kB / 0.6828 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1711, allocations: 89.11 kB / 0.6829 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.1711, allocations: 7.938 kB / 0.6829 GB, free: 3.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.1712, allocations: 7.984 kB / 0.6829 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.917e-05/0.1713, allocations: 4 kB / 0.6829 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1713, allocations: 8 kB / 0.6829 GB, free: 3.098 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.798e-05/0.1713, allocations: 79.27 kB / 0.683 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1713, allocations: 4 kB / 0.683 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002675/0.1716, allocations: 36 kB / 0.683 GB, free: 2.98 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0002107/0.1718, allocations: 147.1 kB / 0.6832 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003373/0.1722, allocations: 79.95 kB / 0.6833 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1722, allocations: 0 / 0.6833 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.1723, allocations: 47.91 kB / 0.6833 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.1726, allocations: 8.328 kB / 0.6833 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.1733, allocations: 342.8 kB / 0.6836 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002362/0.1735, allocations: 0.6962 MB / 0.6843 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.921e-05/0.1736, allocations: 19.44 kB / 0.6843 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of SimCode: time 2e-07/0.1736, allocations: 0 / 0.6843 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of Templates: time 0.002812/0.1764, allocations: 1.357 MB / 0.6857 GB, free: 244 kB / 0.5137 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)