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.001347/0.001347, allocations: 106.9 kB / 15.99 MB, free: 6.352 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.001403/0.001403, allocations: 195.7 kB / 16.91 MB, free: 6.195 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.421/1.421, allocations: 222.9 MB / 240.6 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7896/0.7896, allocations: 126.1 MB / 416.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 59.89 kB / 0.4945 GB, free: 3.824 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3716, allocations: 78.71 MB / 0.5713 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002374/0.374, allocations: 1.325 MB / 0.5726 GB, free: 30.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009126/0.3749, allocations: 0.5978 MB / 0.5732 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.375, allocations: 1.281 kB / 0.5732 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.345e-05/0.375, allocations: 1.234 kB / 0.5732 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/0.3751, allocations: 4.547 kB / 0.5732 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005132/0.3756, allocations: 141.3 kB / 0.5733 GB, free: 29.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.825e-05/0.3756, allocations: 14.8 kB / 0.5734 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.336e-05/0.3757, allocations: 2.703 kB / 0.5734 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.3757, allocations: 10.86 kB / 0.5734 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.3758, allocations: 8.266 kB / 0.5734 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.3758, allocations: 1.062 kB / 0.5734 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004844/0.3763, allocations: 346.8 kB / 0.5737 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.037e-05/0.3763, allocations: 2.484 kB / 0.5737 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.282e-05/0.3764, allocations: 12.86 kB / 0.5737 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3766, allocations: 151.7 kB / 0.5739 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3766, allocations: 2.312 kB / 0.5739 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3766, allocations: 0 / 0.5739 GB, free: 29.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3766, allocations: 0 / 0.5739 GB, free: 29.59 MB / 446.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.0003255/0.377, allocations: 356.5 kB / 0.5742 GB, free: 29.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.377, allocations: 8.719 kB / 0.5742 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.3771, allocations: 7.844 kB / 0.5742 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.3771, allocations: 167.1 kB / 0.5744 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.3772, allocations: 3.156 kB / 0.5744 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.3772, allocations: 5.688 kB / 0.5744 GB, free: 29.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.3773, allocations: 39.66 kB / 0.5744 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.3773, allocations: 0.5625 kB / 0.5744 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3773, allocations: 6 kB / 0.5744 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3774, allocations: 1.75 kB / 0.5744 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.3774, allocations: 12.2 kB / 0.5745 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.3775, allocations: 154.5 kB / 0.5746 GB, free: 28.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.3777, allocations: 50.14 kB / 0.5747 GB, free: 28.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.206e-05/0.3777, allocations: 17.48 kB / 0.5747 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.3778, allocations: 1.625 kB / 0.5747 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.3778, allocations: 40.8 kB / 0.5747 GB, free: 28.68 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.3778, allocations: 1 kB / 0.5747 GB, free: 28.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005424/0.3784, allocations: 319.1 kB / 0.575 GB, free: 28.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.3784, allocations: 52.59 kB / 0.5751 GB, free: 28.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.414e-05/0.3784, allocations: 96.08 kB / 0.5752 GB, free: 28.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.3785, allocations: 30.77 kB / 0.5752 GB, free: 28.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.689e-05/0.3785, allocations: 90.2 kB / 0.5753 GB, free: 28.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.3785, allocations: 25.12 kB / 0.5753 GB, free: 28.08 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.3786, allocations: 20.38 kB / 0.5753 GB, free: 28.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.3786, allocations: 313 kB / 0.5756 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.795e-05/0.3786, allocations: 17.8 kB / 0.5756 GB, free: 27.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.154e-05/0.3787, allocations: 11.55 kB / 0.5756 GB, free: 27.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.3787, allocations: 29.98 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3787, allocations: 1.375 kB / 0.5757 GB, free: 27.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.469e-05/0.3788, allocations: 76.05 kB / 0.5757 GB, free: 27.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3789, allocations: 4.938 kB / 0.5757 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3789, allocations: 0.75 kB / 0.5757 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.3789, allocations: 0.9062 kB / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.305e-05/0.379, allocations: 13.69 kB / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.379, allocations: 1.125 kB / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.379, allocations: 0 / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.379, allocations: 2.188 kB / 0.5758 GB, free: 27.67 MB / 446.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 4.799e-05/0.3791, allocations: 114.5 kB / 0.5759 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.3791, allocations: 5.844 kB / 0.5759 GB, free: 27.55 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001352/0.3792, allocations: 73.45 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3792, allocations: 1.125 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3792, allocations: 1.469 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3792, allocations: 1.781 kB / 0.576 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.3795, allocations: 317.8 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3795, allocations: 5.406 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.3796, allocations: 10.8 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.3796, allocations: 1.375 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3796, allocations: 2.953 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3796, allocations: 1.703 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3796, allocations: 1.031 kB / 0.5763 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3798, allocations: 189.5 kB / 0.5765 GB, free: 26.99 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.924e-05/0.3798, allocations: 89.72 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.3799, allocations: 2.359 kB / 0.5765 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.3799, allocations: 4.25 kB / 0.5766 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.38, allocations: 3.172 kB / 0.5766 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.38, allocations: 3.344 kB / 0.5766 GB, free: 26.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.892e-05/0.38, allocations: 87.95 kB / 0.5766 GB, free: 26.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 3.938 kB / 0.5766 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000253/0.3803, allocations: 19.5 kB / 0.5767 GB, free: 26.8 MB / 446.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.0002223/0.3805, allocations: 126 kB / 0.5768 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.3807, allocations: 40.92 kB / 0.5768 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3807, allocations: 0.5 kB / 0.5768 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.3807, allocations: 14.2 kB / 0.5768 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.381, allocations: 6.922 kB / 0.5768 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004449/0.3814, allocations: 192.3 kB / 0.577 GB, free: 26.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.3816, allocations: 0.6807 MB / 0.5777 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.473e-05/0.3816, allocations: 6.172 kB / 0.5777 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.331e-05/0.3816, allocations: 11.53 kB / 0.5777 GB, free: 25.84 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3816, allocations: 0 / 0.5777 GB, free: 25.84 MB / 446.1 MB Notification: Performance of Templates: time 0.003488/0.3851, allocations: 0.625 MB / 0.5783 GB, free: 25.81 MB / 446.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)