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.001044/0.001044, allocations: 93.44 kB / 16.67 MB, free: 6.348 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.001209/0.001209, allocations: 181.5 kB / 17.58 MB, free: 5.965 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.317/1.317, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.745/0.745, allocations: 115.5 MB / 408.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 15.98 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3543, allocations: 77.51 MB / 0.5606 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001199/0.3555, allocations: 1 MB / 0.5616 GB, free: 35.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009049/0.3564, allocations: 0.6104 MB / 0.5622 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.523e-05/0.3564, allocations: 1.344 kB / 0.5622 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.3565, allocations: 3.062 kB / 0.5622 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.072e-05/0.3565, allocations: 4.688 kB / 0.5622 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004516/0.357, allocations: 134.6 kB / 0.5623 GB, free: 35.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.224e-05/0.357, allocations: 25.28 kB / 0.5623 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.832e-05/0.3571, allocations: 5.422 kB / 0.5623 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.258e-05/0.3571, allocations: 6.594 kB / 0.5623 GB, free: 35.03 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.3572, allocations: 20.34 kB / 0.5624 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.3572, allocations: 0.7812 kB / 0.5624 GB, free: 35.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.3577, allocations: 343.2 kB / 0.5627 GB, free: 34.92 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.53e-05/0.3577, allocations: 10.89 kB / 0.5627 GB, free: 34.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.3577, allocations: 35.31 kB / 0.5627 GB, free: 34.88 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3579, allocations: 109.9 kB / 0.5628 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3579, allocations: 1.625 kB / 0.5628 GB, free: 34.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3579, allocations: 0 / 0.5628 GB, free: 34.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.797e-06/0.3579, allocations: 0 / 0.5628 GB, free: 34.84 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.0003135/0.3582, allocations: 359.2 kB / 0.5632 GB, free: 34.46 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.975e-05/0.3583, allocations: 13.75 kB / 0.5632 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.484e-05/0.3583, allocations: 8.5 kB / 0.5632 GB, free: 34.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.917e-05/0.3584, allocations: 164 kB / 0.5634 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3584, allocations: 1.406 kB / 0.5634 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3585, allocations: 9.844 kB / 0.5634 GB, free: 34.26 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.3586, allocations: 50.86 kB / 0.5634 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3586, allocations: 192 / 0.5634 GB, free: 34.22 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3586, allocations: 3.938 kB / 0.5634 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3586, allocations: 6.062 kB / 0.5634 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.3587, allocations: 19.38 kB / 0.5634 GB, free: 34.21 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001357/0.3588, allocations: 165.3 kB / 0.5636 GB, free: 34.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.858e-05/0.3589, allocations: 60.38 kB / 0.5637 GB, free: 33.97 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/0.359, allocations: 28.67 kB / 0.5637 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.359, allocations: 1.812 kB / 0.5637 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.359, allocations: 42.09 kB / 0.5637 GB, free: 33.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.359, allocations: 3.984 kB / 0.5637 GB, free: 33.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009807/0.36, allocations: 0.5942 MB / 0.5643 GB, free: 33.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.3601, allocations: 53.55 kB / 0.5644 GB, free: 33.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.439e-05/0.3601, allocations: 98.83 kB / 0.5645 GB, free: 33.22 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/0.3601, allocations: 27.39 kB / 0.5645 GB, free: 33.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.919e-05/0.3602, allocations: 86.34 kB / 0.5646 GB, free: 33.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.74e-05/0.3602, allocations: 39.14 kB / 0.5646 GB, free: 33.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.3602, allocations: 18.56 kB / 0.5646 GB, free: 33.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.613e-05/0.3603, allocations: 316.6 kB / 0.5649 GB, free: 32.74 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.851e-05/0.3603, allocations: 21.89 kB / 0.5649 GB, free: 32.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.609e-05/0.3604, allocations: 19.81 kB / 0.565 GB, free: 32.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.208e-05/0.3604, allocations: 65.62 kB / 0.565 GB, free: 32.69 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.52e-07/0.3605, allocations: 0.9688 kB / 0.565 GB, free: 32.69 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001303/0.3606, allocations: 100.3 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.3606, allocations: 4.844 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.3606, allocations: 0.6562 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.3606, allocations: 1.344 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3607, allocations: 20.95 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3608, allocations: 2.125 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.374e-05/0.3608, allocations: 0.6562 kB / 0.5651 GB, free: 32.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.3608, allocations: 12.09 kB / 0.5652 GB, free: 32.62 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 5.245e-05/0.3609, allocations: 114.8 kB / 0.5653 GB, free: 32.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.3609, allocations: 10.28 kB / 0.5653 GB, free: 32.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.3611, allocations: 99.73 kB / 0.5654 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3611, allocations: 1.344 kB / 0.5654 GB, free: 32.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3611, allocations: 5.25 kB / 0.5654 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3611, allocations: 1.312 kB / 0.5654 GB, free: 32.44 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.3614, allocations: 350 kB / 0.5657 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3614, allocations: 1.031 kB / 0.5657 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.3615, allocations: 27.98 kB / 0.5657 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.3615, allocations: 2.547 kB / 0.5657 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.3616, allocations: 1 kB / 0.5657 GB, free: 32.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3616, allocations: 6.922 kB / 0.5658 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3616, allocations: 3.938 kB / 0.5658 GB, free: 32.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.3618, allocations: 223.5 kB / 0.566 GB, free: 31.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.3618, allocations: 80.12 kB / 0.566 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3618, allocations: 1.688 kB / 0.566 GB, free: 31.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.081e-05/0.3619, allocations: 7.109 kB / 0.5661 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.437e-05/0.362, allocations: 6.828 kB / 0.5661 GB, free: 31.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.362, allocations: 3.156 kB / 0.5661 GB, free: 31.83 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.023e-05/0.362, allocations: 79.8 kB / 0.5661 GB, free: 31.76 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.362, allocations: 0 / 0.5661 GB, free: 31.76 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.3623, allocations: 37.73 kB / 0.5662 GB, free: 31.75 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.0001788/0.3625, allocations: 139.4 kB / 0.5663 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00014/0.3626, allocations: 67.56 kB / 0.5664 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3626, allocations: 0 / 0.5664 GB, free: 31.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.3627, allocations: 37.45 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.3629, allocations: 7.688 kB / 0.5664 GB, free: 31.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005398/0.3634, allocations: 364.9 kB / 0.5668 GB, free: 31.38 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3636, allocations: 0.6928 MB / 0.5674 GB, free: 30.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.3636, allocations: 13.78 kB / 0.5675 GB, free: 30.68 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3636, allocations: 1.156 kB / 0.5675 GB, free: 30.68 MB / 446.1 MB Notification: Performance of Templates: time 0.002957/0.3666, allocations: 1.112 MB / 0.5685 GB, free: 30.59 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)