Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0008906/0.0008904, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008695/0.0008695, allocations: 182.1 kB / 16.92 MB, free: 6.91 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.368/1.368, allocations: 223.2 MB / 241 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.72/0.72, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005513/0.0005513, allocations: 8 kB / 495.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1948, allocations: 77.53 MB / 0.5599 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001271/0.1962, allocations: 0.9886 MB / 0.5609 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1972, allocations: 0.6191 MB / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.44e-05/0.1972, allocations: 0 / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.1973, allocations: 0 / 0.5615 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.225e-05/0.1973, allocations: 7.922 kB / 0.5615 GB, free: 7.418 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.1977, allocations: 126.9 kB / 0.5616 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.1978, allocations: 23.91 kB / 0.5617 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.417e-05/0.1979, allocations: 4 kB / 0.5617 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.359e-05/0.1979, allocations: 4 kB / 0.5617 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.745e-05/0.1979, allocations: 11.92 kB / 0.5617 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.198, allocations: 0 / 0.5617 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.1984, allocations: 343.3 kB / 0.562 GB, free: 6.918 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.1985, allocations: 8 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1985, allocations: 33.64 kB / 0.5621 GB, free: 6.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.1988, allocations: 151.9 kB / 0.5622 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.1988, allocations: 0 / 0.5622 GB, free: 6.723 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1988, allocations: 0 / 0.5622 GB, free: 6.723 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1988, allocations: 0 / 0.5622 GB, free: 6.723 MB / 430.1 MB 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.0003931/0.1992, allocations: 355.5 kB / 0.5625 GB, free: 6.324 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.1993, allocations: 12.03 kB / 0.5625 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.1993, allocations: 4.844 kB / 0.5626 GB, free: 6.309 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1994, allocations: 160.4 kB / 0.5627 GB, free: 6.113 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1994, allocations: 4.375 kB / 0.5627 GB, free: 6.109 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1995, allocations: 4.375 kB / 0.5627 GB, free: 6.105 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1996, allocations: 42.25 kB / 0.5628 GB, free: 6.059 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.671e-06/0.1996, allocations: 4.125 kB / 0.5628 GB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1996, allocations: 3.938 kB / 0.5628 GB, free: 6.051 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.1996, allocations: 3.938 kB / 0.5628 GB, free: 6.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.004e-05/0.1997, allocations: 11.98 kB / 0.5628 GB, free: 6.035 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001682/0.1998, allocations: 157.7 kB / 0.5629 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.2, allocations: 46.61 kB / 0.563 GB, free: 5.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.2001, allocations: 20.84 kB / 0.563 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.2001, allocations: 96 / 0.563 GB, free: 5.754 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.2001, allocations: 34.55 kB / 0.563 GB, free: 5.711 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.2001, allocations: 7.938 kB / 0.563 GB, free: 5.703 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005893/0.2007, allocations: 310.2 kB / 0.5633 GB, free: 5.348 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.2008, allocations: 55.41 kB / 0.5634 GB, free: 5.281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.795e-05/0.2008, allocations: 97.84 kB / 0.5635 GB, free: 5.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2009, allocations: 25.7 kB / 0.5635 GB, free: 5.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.2009, allocations: 88.08 kB / 0.5636 GB, free: 5.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.2009, allocations: 15.72 kB / 0.5636 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.409e-05/0.201, allocations: 13.72 kB / 0.5636 GB, free: 5.02 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.2011, allocations: 318.8 kB / 0.5639 GB, free: 4.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.312e-05/0.2011, allocations: 8 kB / 0.5639 GB, free: 4.691 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.983e-05/0.2011, allocations: 12 kB / 0.5639 GB, free: 4.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.441e-05/0.2012, allocations: 36.84 kB / 0.564 GB, free: 4.641 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.2012, allocations: 0 / 0.564 GB, free: 4.641 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001108/0.2013, allocations: 77.52 kB / 0.564 GB, free: 4.559 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.2013, allocations: 7.938 kB / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2013, allocations: 0 / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2014, allocations: 0 / 0.564 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.146e-05/0.2014, allocations: 12 kB / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.2014, allocations: 0 / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.731e-05/0.2014, allocations: 64 / 0.5641 GB, free: 4.539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2015, allocations: 4 kB / 0.5641 GB, free: 4.535 MB / 430.1 MB 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.742e-05/0.2015, allocations: 117.8 kB / 0.5642 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.304e-05/0.2016, allocations: 7.922 kB / 0.5642 GB, free: 4.402 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.2017, allocations: 73.59 kB / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2017, allocations: 0 / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2017, allocations: 0 / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2017, allocations: 0 / 0.5643 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.2021, allocations: 311.4 kB / 0.5646 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2021, allocations: 8.016 kB / 0.5646 GB, free: 3.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.26e-05/0.2022, allocations: 16 kB / 0.5646 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2022, allocations: 0 / 0.5646 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.2022, allocations: 0 / 0.5646 GB, free: 3.938 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2022, allocations: 4 kB / 0.5646 GB, free: 3.934 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2022, allocations: 3.938 kB / 0.5646 GB, free: 3.93 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.2024, allocations: 184.2 kB / 0.5648 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.2025, allocations: 85.2 kB / 0.5648 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.2025, allocations: 0 / 0.5648 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.407e-05/0.2026, allocations: 7.984 kB / 0.5648 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.2026, allocations: 4 kB / 0.5648 GB, free: 3.617 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.2026, allocations: 4 kB / 0.5649 GB, free: 3.613 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.692e-05/0.2026, allocations: 75.8 kB / 0.5649 GB, free: 3.539 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2026, allocations: 3.938 kB / 0.5649 GB, free: 3.535 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2029, allocations: 27.92 kB / 0.565 GB, free: 3.508 MB / 430.1 MB 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.0002137/0.2032, allocations: 127.2 kB / 0.5651 GB, free: 3.375 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.2033, allocations: 35.92 kB / 0.5651 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2033, allocations: 0 / 0.5651 GB, free: 3.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/0.2033, allocations: 12.19 kB / 0.5651 GB, free: 3.328 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2036, allocations: 11.94 kB / 0.5651 GB, free: 3.316 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.204, allocations: 221.6 kB / 0.5653 GB, free: 3.066 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.2042, allocations: 0.6809 MB / 0.566 GB, free: 2.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.463e-05/0.2043, allocations: 12.36 kB / 0.566 GB, free: 2.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.2043, allocations: 15.44 kB / 0.566 GB, free: 2.332 MB / 430.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2043, allocations: 0 / 0.566 GB, free: 2.332 MB / 430.1 MB Notification: Performance of Templates: time 0.002706/0.207, allocations: 0.5897 MB / 0.5666 GB, free: 1.762 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)