Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 112.7 kB / 17.33 MB, free: 4.855 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.002263/0.002263, allocations: 198.6 kB / 18.32 MB, free: 3.914 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.497/1.497, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.9348/0.9348, allocations: 128.4 MB / 426.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 66.06 kB / 0.5912 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1758, allocations: 83.27 MB / 0.6725 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002686/0.1785, allocations: 1.462 MB / 0.6739 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1797, allocations: 0.6266 MB / 0.6745 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.216e-05/0.1797, allocations: 0 / 0.6745 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.083e-05/0.1797, allocations: 7.922 kB / 0.6745 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.256e-05/0.1798, allocations: 15.86 kB / 0.6745 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000628/0.1804, allocations: 158.4 kB / 0.6747 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.51e-05/0.1805, allocations: 55.83 kB / 0.6747 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.1806, allocations: 3.906 kB / 0.6747 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.578e-05/0.1807, allocations: 27.92 kB / 0.6748 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.563e-05/0.1807, allocations: 23.91 kB / 0.6748 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.1807, allocations: 7.938 kB / 0.6748 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.1813, allocations: 347.3 kB / 0.6751 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.1813, allocations: 19.91 kB / 0.6752 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.1813, allocations: 23.86 kB / 0.6752 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.1816, allocations: 179.3 kB / 0.6753 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1816, allocations: 0 / 0.6753 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1817, allocations: 0 / 0.6753 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.1817, allocations: 0 / 0.6753 GB, free: 0.9219 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006902/0.1823, allocations: 398.9 kB / 0.6757 GB, free: 496 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.1824, allocations: 16.62 kB / 0.6757 GB, free: 480 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.1824, allocations: 4.891 kB / 0.6757 GB, free: 476 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1826, allocations: 172.3 kB / 0.6759 GB, free: 264 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.1826, allocations: 4.375 kB / 0.6759 GB, free: 260 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1826, allocations: 8.375 kB / 0.6759 GB, free: 252 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002397/0.1829, allocations: 81.58 kB / 0.676 GB, free: 164 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1829, allocations: 3.953 kB / 0.676 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1829, allocations: 0 / 0.676 GB, free: 160 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1829, allocations: 4 kB / 0.676 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.1831, allocations: 51.95 kB / 0.6761 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.1838, allocations: 336.6 kB / 0.6764 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.1842, allocations: 74.53 kB / 0.6765 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.1843, allocations: 28.84 kB / 0.6765 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.1843, allocations: 0 / 0.6765 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.1844, allocations: 42.5 kB / 0.6765 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.1844, allocations: 0 / 0.6765 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11): time 0.001654/0.186, allocations: 0.6421 MB / 0.6771 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.1861, allocations: 55.41 kB / 0.6772 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.787e-05/0.1862, allocations: 101.8 kB / 0.6773 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1862, allocations: 25.7 kB / 0.6773 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.1862, allocations: 100.1 kB / 0.6774 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.1863, allocations: 35.78 kB / 0.6774 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1863, allocations: 33.64 kB / 0.6775 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1865, allocations: 314.8 kB / 0.6778 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.1866, allocations: 31.97 kB / 0.6778 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.1867, allocations: 31.98 kB / 0.6778 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002367/0.187, allocations: 79.77 kB / 0.6779 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.187, allocations: 0 / 0.6779 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003032/0.1873, allocations: 121.7 kB / 0.678 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.1873, allocations: 7.984 kB / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1873, allocations: 0 / 0.678 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/0.1873, allocations: 8.125 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.1875, allocations: 27.98 kB / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1875, allocations: 320 / 0.6781 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.1875, allocations: 8 kB / 0.6781 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.1875, allocations: 4 kB / 0.6781 GB, free: 13.8 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 0.0001044/0.1877, allocations: 117.8 kB / 0.6782 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.692e-05/0.1877, allocations: 11.94 kB / 0.6782 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003876/0.1881, allocations: 129.6 kB / 0.6783 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1881, allocations: 3.938 kB / 0.6783 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1881, allocations: 3.938 kB / 0.6783 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1881, allocations: 3.984 kB / 0.6783 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005894/0.1887, allocations: 386.5 kB / 0.6787 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.1887, allocations: 3.938 kB / 0.6787 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001469/0.1888, allocations: 23.98 kB / 0.6787 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1888, allocations: 0 / 0.6787 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1888, allocations: 3.984 kB / 0.6787 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1888, allocations: 8 kB / 0.6788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.1888, allocations: 0 / 0.6788 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.1893, allocations: 255.3 kB / 0.679 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.176e-05/0.1894, allocations: 85 kB / 0.6791 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1894, allocations: 4.031 kB / 0.6791 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1895, allocations: 11.98 kB / 0.6791 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.482e-05/0.1896, allocations: 4 kB / 0.6791 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/0.1896, allocations: 0 / 0.6791 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.92e-05/0.1896, allocations: 91.33 kB / 0.6792 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1896, allocations: 0 / 0.6792 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003084/0.1899, allocations: 39.88 kB / 0.6792 GB, free: 12.54 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.0002286/0.1902, allocations: 131 kB / 0.6793 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.1905, allocations: 87.77 kB / 0.6794 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1905, allocations: 0 / 0.6794 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.1906, allocations: 47.91 kB / 0.6795 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.1909, allocations: 11.94 kB / 0.6795 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.1916, allocations: 305.5 kB / 0.6798 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/0.1919, allocations: 0.7002 MB / 0.6805 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.221e-05/0.1919, allocations: 12.61 kB / 0.6805 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.192, allocations: 19.42 kB / 0.6805 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of SimCode: time 2.71e-07/0.192, allocations: 0 / 0.6805 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of Templates: time 0.004049/0.196, allocations: 1.154 MB / 0.6816 GB, free: 10.05 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480]