Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001334/0.001334, allocations: 105.7 kB / 16.64 MB, free: 6.816 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.0013/0.0013, allocations: 186 kB / 17.57 MB, free: 5.922 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.394/1.394, allocations: 222.9 MB / 241.2 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8454/0.8454, allocations: 125.4 MB / 416.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.00194, allocations: 68.12 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3689, allocations: 78.57 MB / 0.571 GB, free: 31.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002529/0.3715, allocations: 1.333 MB / 0.5723 GB, free: 30.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.3725, allocations: 0.6075 MB / 0.5729 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.241e-05/0.3726, allocations: 3.938 kB / 0.5729 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.575e-05/0.3726, allocations: 5.922 kB / 0.5729 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.098e-05/0.3727, allocations: 1.844 kB / 0.5729 GB, free: 30.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.3733, allocations: 129.7 kB / 0.573 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.651e-05/0.3734, allocations: 29.5 kB / 0.5731 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.3734, allocations: 6.75 kB / 0.5731 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.3735, allocations: 8.969 kB / 0.5731 GB, free: 30.06 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.3735, allocations: 20 kB / 0.5731 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.3736, allocations: 2.188 kB / 0.5731 GB, free: 30.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005843/0.3741, allocations: 338.8 kB / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.3742, allocations: 12.7 kB / 0.5734 GB, free: 29.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.089e-05/0.3742, allocations: 14.55 kB / 0.5735 GB, free: 29.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3744, allocations: 105.5 kB / 0.5736 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3744, allocations: 1.5 kB / 0.5736 GB, free: 29.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3744, allocations: 0 / 0.5736 GB, free: 29.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3744, allocations: 0 / 0.5736 GB, free: 29.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003852/0.3748, allocations: 371 kB / 0.5739 GB, free: 29.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.3749, allocations: 12.23 kB / 0.5739 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.3749, allocations: 2.344 kB / 0.5739 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.028e-05/0.375, allocations: 168.5 kB / 0.5741 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.375, allocations: 9.719 kB / 0.5741 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.3751, allocations: 3.312 kB / 0.5741 GB, free: 29.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.3752, allocations: 55.47 kB / 0.5742 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3752, allocations: 0.6562 kB / 0.5742 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.3752, allocations: 2.656 kB / 0.5742 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3752, allocations: 0 / 0.5742 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.3753, allocations: 22.72 kB / 0.5742 GB, free: 29.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.3755, allocations: 168 kB / 0.5743 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3756, allocations: 58.36 kB / 0.5744 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.3756, allocations: 32.88 kB / 0.5744 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.3757, allocations: 2.875 kB / 0.5744 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3757, allocations: 40.38 kB / 0.5745 GB, free: 28.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 2.685e-06/0.3757, allocations: 0 / 0.5745 GB, free: 28.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001131/0.3768, allocations: 0.5913 MB / 0.575 GB, free: 28.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.3769, allocations: 52.78 kB / 0.5751 GB, free: 28.39 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.735e-05/0.3769, allocations: 95.14 kB / 0.5752 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.312e-05/0.377, allocations: 30.45 kB / 0.5752 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.878e-05/0.377, allocations: 82.33 kB / 0.5753 GB, free: 28.17 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.729e-05/0.377, allocations: 40.17 kB / 0.5753 GB, free: 28.14 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.291e-05/0.3771, allocations: 28.25 kB / 0.5754 GB, free: 28.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.084e-05/0.3771, allocations: 322.7 kB / 0.5757 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.3772, allocations: 19.56 kB / 0.5757 GB, free: 27.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.116e-05/0.3772, allocations: 23.3 kB / 0.5757 GB, free: 27.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.187e-05/0.3773, allocations: 55.08 kB / 0.5758 GB, free: 27.76 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3773, allocations: 3.938 kB / 0.5758 GB, free: 27.76 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001412/0.3775, allocations: 105 kB / 0.5759 GB, free: 27.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.3775, allocations: 5.156 kB / 0.5759 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3775, allocations: 2.031 kB / 0.5759 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3775, allocations: 0 / 0.5759 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3777, allocations: 22.34 kB / 0.5759 GB, free: 27.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.3777, allocations: 6.156 kB / 0.5759 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.3777, allocations: 4 kB / 0.5759 GB, free: 27.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.3777, allocations: 3.219 kB / 0.5759 GB, free: 27.69 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 (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 6.422e-05/0.3778, allocations: 120 kB / 0.576 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.541e-05/0.3778, allocations: 2.5 kB / 0.576 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001897/0.378, allocations: 112.2 kB / 0.5761 GB, free: 27.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.378, allocations: 4.875 kB / 0.5761 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.378, allocations: 4.797 kB / 0.5761 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.378, allocations: 2.859 kB / 0.5761 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003554/0.3784, allocations: 353 kB / 0.5765 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3784, allocations: 0 / 0.5765 GB, free: 27.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3785, allocations: 24.41 kB / 0.5765 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3785, allocations: 1.094 kB / 0.5765 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.3785, allocations: 2.797 kB / 0.5765 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3786, allocations: 1.188 kB / 0.5765 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3786, allocations: 0.875 kB / 0.5765 GB, free: 27.15 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3788, allocations: 225 kB / 0.5767 GB, free: 26.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.133e-05/0.3788, allocations: 83.14 kB / 0.5768 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.658e-05/0.3788, allocations: 6.141 kB / 0.5768 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.896e-05/0.3789, allocations: 3.5 kB / 0.5768 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.379, allocations: 5.828 kB / 0.5768 GB, free: 26.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-06/0.379, allocations: 7.438 kB / 0.5768 GB, free: 26.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.542e-05/0.379, allocations: 85.17 kB / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.379, allocations: 0 / 0.5769 GB, free: 26.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.3793, allocations: 36.92 kB / 0.5769 GB, free: 26.79 MB / 446.1 MB 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.0002135/0.3795, allocations: 127.2 kB / 0.5771 GB, free: 26.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.3797, allocations: 74.12 kB / 0.5771 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3797, allocations: 0.625 kB / 0.5771 GB, free: 26.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.151e-05/0.3798, allocations: 33.75 kB / 0.5772 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.38, allocations: 7.75 kB / 0.5772 GB, free: 26.66 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005323/0.3805, allocations: 318 kB / 0.5775 GB, free: 26.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001271/0.3807, allocations: 0.6941 MB / 0.5782 GB, free: 25.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.3807, allocations: 13.91 kB / 0.5782 GB, free: 25.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3807, allocations: 0 / 0.5782 GB, free: 25.73 MB / 446.1 MB Notification: Performance of Templates: time 0.003335/0.3841, allocations: 1.121 MB / 0.5793 GB, free: 25.64 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)