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.0104/0.0104, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001994/0.001994, allocations: 195.7 kB / 16.79 MB, free: 5.809 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.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.9959/0.9959, allocations: 143.1 MB / 433.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 55.91 kB / 0.5141 GB, free: 12.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1767, allocations: 82.05 MB / 0.5943 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002342/0.1791, allocations: 1.34 MB / 0.5956 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001043/0.1802, allocations: 0.6384 MB / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.605e-05/0.1802, allocations: 0 / 0.5962 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.1802, allocations: 3.984 kB / 0.5962 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1803, allocations: 4 kB / 0.5962 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004851/0.1808, allocations: 127.6 kB / 0.5963 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.253e-05/0.1808, allocations: 27.88 kB / 0.5964 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.1809, allocations: 7.984 kB / 0.5964 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.74e-05/0.1809, allocations: 7.938 kB / 0.5964 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.181, allocations: 19.91 kB / 0.5964 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.181, allocations: 4 kB / 0.5964 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004724/0.1815, allocations: 339.3 kB / 0.5967 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.642e-05/0.1815, allocations: 7.984 kB / 0.5967 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.926e-05/0.1815, allocations: 15.92 kB / 0.5967 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.1817, allocations: 104.1 kB / 0.5968 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.1817, allocations: 3.984 kB / 0.5969 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1817, allocations: 0 / 0.5969 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1817, allocations: 0 / 0.5969 GB, free: 7.422 MB / 0.4981 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.0004331/0.1822, allocations: 363.4 kB / 0.5972 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1822, allocations: 8.031 kB / 0.5972 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.1823, allocations: 8.922 kB / 0.5972 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1824, allocations: 160.4 kB / 0.5974 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.1824, allocations: 16.31 kB / 0.5974 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.1824, allocations: 384 / 0.5974 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1826, allocations: 50.25 kB / 0.5974 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1826, allocations: 192 / 0.5974 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1826, allocations: 3.938 kB / 0.5974 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1826, allocations: 4 kB / 0.5974 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.122e-05/0.1827, allocations: 19.92 kB / 0.5975 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1829, allocations: 173.5 kB / 0.5976 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.183, allocations: 62.56 kB / 0.5977 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.183, allocations: 28.84 kB / 0.5977 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1831, allocations: 0 / 0.5977 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.1831, allocations: 34.5 kB / 0.5977 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 9.31e-07/0.1831, allocations: 4 kB / 0.5977 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.001167/0.1843, allocations: 0.5917 MB / 0.5983 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/0.1843, allocations: 55.41 kB / 0.5984 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.1844, allocations: 89.86 kB / 0.5985 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.1844, allocations: 33.7 kB / 0.5985 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.1845, allocations: 80.14 kB / 0.5986 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1845, allocations: 43.38 kB / 0.5986 GB, free: 5.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.1846, allocations: 33.83 kB / 0.5986 GB, free: 5.289 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1847, allocations: 318.8 kB / 0.5989 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.183e-05/0.1847, allocations: 19.98 kB / 0.599 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.1848, allocations: 20 kB / 0.599 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.1849, allocations: 55.09 kB / 0.599 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1849, allocations: 0 / 0.599 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001484/0.185, allocations: 105.5 kB / 0.5991 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1851, allocations: 10.34 kB / 0.5991 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1851, allocations: 0 / 0.5991 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1851, allocations: 0 / 0.5991 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.1852, allocations: 23.98 kB / 0.5992 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1852, allocations: 4 kB / 0.5992 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.1852, allocations: 4 kB / 0.5992 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1853, allocations: 4 kB / 0.5992 GB, free: 4.723 MB / 0.4981 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.501e-05/0.1853, allocations: 113.8 kB / 0.5993 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.1854, allocations: 11.92 kB / 0.5993 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.1856, allocations: 105.6 kB / 0.5994 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1856, allocations: 8 kB / 0.5994 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1856, allocations: 0 / 0.5994 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1856, allocations: 0 / 0.5994 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003822/0.186, allocations: 350.4 kB / 0.5997 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.186, allocations: 8 kB / 0.5998 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.1861, allocations: 19.98 kB / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1861, allocations: 0 / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1861, allocations: 0 / 0.5998 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1861, allocations: 4 kB / 0.5998 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1861, allocations: 0 / 0.5998 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/0.1864, allocations: 223.6 kB / 0.6 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.1864, allocations: 85.05 kB / 0.6001 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.1865, allocations: 4 kB / 0.6001 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.824e-05/0.1865, allocations: 0 / 0.6001 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.1866, allocations: 11.92 kB / 0.6001 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.071e-05/0.1866, allocations: 8 kB / 0.6001 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.13e-05/0.1866, allocations: 79.34 kB / 0.6002 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1866, allocations: 4.094 kB / 0.6002 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002621/0.1869, allocations: 32 kB / 0.6002 GB, free: 3.566 MB / 0.4981 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.0001978/0.1871, allocations: 135.1 kB / 0.6003 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.1873, allocations: 71.89 kB / 0.6004 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1873, allocations: 0 / 0.6004 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.1873, allocations: 28 kB / 0.6004 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.1875, allocations: 11.94 kB / 0.6004 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1881, allocations: 329.6 kB / 0.6008 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002423/0.1883, allocations: 0.6919 MB / 0.6014 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.923e-05/0.1884, allocations: 15.44 kB / 0.6014 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1884, allocations: 0 / 0.6014 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of Templates: time 0.002714/0.1911, allocations: 1.142 MB / 0.6026 GB, free: 1.098 MB / 0.4981 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)