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.001144/0.001144, allocations: 110.7 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.001282/0.001282, allocations: 187 kB / 17.34 MB, free: 5.762 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.15 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.8252/0.8252, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 64.08 kB / 0.5962 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1691, allocations: 82.03 MB / 0.6763 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.00328/0.1725, allocations: 1.477 MB / 0.6777 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.1738, allocations: 0.6383 MB / 0.6784 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.626e-05/0.1739, allocations: 0 / 0.6784 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.798e-05/0.1739, allocations: 7.922 kB / 0.6784 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.082e-05/0.174, allocations: 3.938 kB / 0.6784 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007857/0.1748, allocations: 158.6 kB / 0.6785 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000117/0.175, allocations: 55.84 kB / 0.6786 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.096e-05/0.175, allocations: 7.922 kB / 0.6786 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.975e-05/0.1751, allocations: 23.98 kB / 0.6786 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.1752, allocations: 23.86 kB / 0.6786 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1752, allocations: 4 kB / 0.6786 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005775/0.1758, allocations: 347.3 kB / 0.679 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.768e-05/0.1758, allocations: 15.98 kB / 0.679 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.1759, allocations: 27.84 kB / 0.679 GB, free: 7.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.1762, allocations: 179.5 kB / 0.6792 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1762, allocations: 0 / 0.6792 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.024e-06/0.1763, allocations: 4 kB / 0.6792 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.1763, allocations: 0 / 0.6792 GB, free: 7.426 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.0007006/0.177, allocations: 395.3 kB / 0.6796 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.177, allocations: 8.031 kB / 0.6796 GB, free: 6.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.3e-05/0.1771, allocations: 12.78 kB / 0.6796 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.1772, allocations: 172.3 kB / 0.6798 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.1773, allocations: 4.375 kB / 0.6798 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.1773, allocations: 12.38 kB / 0.6798 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1776, allocations: 78.22 kB / 0.6798 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.1776, allocations: 192 / 0.6798 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1776, allocations: 3.938 kB / 0.6798 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1776, allocations: 0 / 0.6798 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002434/0.1779, allocations: 51.95 kB / 0.6799 GB, free: 6.609 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006491/0.1785, allocations: 332.6 kB / 0.6802 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.1788, allocations: 78.52 kB / 0.6803 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.179, allocations: 28.78 kB / 0.6803 GB, free: 6.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.179, allocations: 4.156 kB / 0.6803 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.179, allocations: 38.55 kB / 0.6804 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1791, allocations: 4 kB / 0.6804 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001742/0.1808, allocations: 0.6461 MB / 0.681 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1808, allocations: 55.39 kB / 0.681 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.1809, allocations: 101.8 kB / 0.6811 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.181, allocations: 29.7 kB / 0.6812 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.134e-05/0.181, allocations: 92.03 kB / 0.6813 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.1811, allocations: 39.39 kB / 0.6813 GB, free: 4.98 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.721e-05/0.1811, allocations: 29.7 kB / 0.6813 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.1812, allocations: 318.8 kB / 0.6816 GB, free: 4.625 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001247/0.1814, allocations: 31.98 kB / 0.6817 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.1815, allocations: 35.97 kB / 0.6817 GB, free: 4.559 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.1817, allocations: 72.33 kB / 0.6818 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1818, allocations: 0 / 0.6818 GB, free: 4.488 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003264/0.1821, allocations: 117.6 kB / 0.6819 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.1821, allocations: 8 kB / 0.6819 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1821, allocations: 4 kB / 0.6819 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1821, allocations: 0 / 0.6819 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.1823, allocations: 27.98 kB / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.1823, allocations: 0 / 0.6819 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.1824, allocations: 11.92 kB / 0.6819 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.1824, allocations: 4 kB / 0.6819 GB, free: 4.312 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.48e-05/0.1825, allocations: 121.7 kB / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.1826, allocations: 0 / 0.682 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003811/0.1829, allocations: 137.5 kB / 0.6822 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.183, allocations: 0 / 0.6822 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.183, allocations: 0 / 0.6822 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.183, allocations: 3.938 kB / 0.6822 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005487/0.1835, allocations: 386.6 kB / 0.6825 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1836, allocations: 0 / 0.6825 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.1837, allocations: 31.97 kB / 0.6826 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1837, allocations: 4 kB / 0.6826 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.1837, allocations: 7.938 kB / 0.6826 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1837, allocations: 0 / 0.6826 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1838, allocations: 0 / 0.6826 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005101/0.1843, allocations: 251.4 kB / 0.6828 GB, free: 3.297 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.1843, allocations: 85.05 kB / 0.6829 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.1843, allocations: 12 kB / 0.6829 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1845, allocations: 7.984 kB / 0.6829 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.962e-05/0.1845, allocations: 4 kB / 0.6829 GB, free: 3.172 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1845, allocations: 7.984 kB / 0.6829 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.568e-05/0.1846, allocations: 87.45 kB / 0.683 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1846, allocations: 0 / 0.683 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002864/0.1849, allocations: 32 kB / 0.6831 GB, free: 3.047 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.0002325/0.1851, allocations: 144 kB / 0.6832 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.1854, allocations: 83.89 kB / 0.6833 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1854, allocations: 0 / 0.6833 GB, free: 2.816 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001413/0.1856, allocations: 47.91 kB / 0.6833 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.1859, allocations: 8.609 kB / 0.6833 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.1866, allocations: 339 kB / 0.6836 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002676/0.1869, allocations: 0.6924 MB / 0.6843 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.311e-05/0.187, allocations: 15.42 kB / 0.6843 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of SimCode: time 4.41e-07/0.187, allocations: 4 kB / 0.6843 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of Templates: time 0.003183/0.1901, allocations: 1.349 MB / 0.6857 GB, free: 332 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)