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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 105.5 kB / 15.98 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.001385/0.001385, allocations: 191 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.265/1.265, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6775/0.6775, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 55.91 kB / 493.2 MB, free: 0.5625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/0.2928, allocations: 76.18 MB / 0.556 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001926/0.2948, allocations: 1.326 MB / 0.5573 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007547/0.2956, allocations: 0.6151 MB / 0.5579 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.2956, allocations: 0 / 0.5579 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.569e-05/0.2956, allocations: 7.875 kB / 0.5579 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.358e-05/0.2957, allocations: 4.188 kB / 0.5579 GB, free: 34.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000433/0.2961, allocations: 132.1 kB / 0.5581 GB, free: 34.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.73e-05/0.2961, allocations: 23.17 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.614e-05/0.2962, allocations: 3.203 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.1e-05/0.2962, allocations: 11.59 kB / 0.5581 GB, free: 34.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.2963, allocations: 20.19 kB / 0.5581 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2963, allocations: 1.312 kB / 0.5581 GB, free: 34.03 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003928/0.2967, allocations: 345.4 kB / 0.5584 GB, free: 33.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.2967, allocations: 11.64 kB / 0.5585 GB, free: 33.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.2967, allocations: 18 kB / 0.5585 GB, free: 33.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002103/0.2969, allocations: 152.7 kB / 0.5586 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2969, allocations: 4.438 kB / 0.5586 GB, free: 33.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.297, allocations: 0.6875 kB / 0.5586 GB, free: 33.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.297, allocations: 0 / 0.5586 GB, free: 33.86 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.0002969/0.2973, allocations: 369 kB / 0.559 GB, free: 33.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.2973, allocations: 10.09 kB / 0.559 GB, free: 33.48 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.188e-05/0.2973, allocations: 32.81 kB / 0.559 GB, free: 33.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.2974, allocations: 8.781 kB / 0.559 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.602e-05/0.2974, allocations: 168.3 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2975, allocations: 6.766 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2975, allocations: 3.594 kB / 0.5592 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.543e-05/0.2976, allocations: 54.62 kB / 0.5593 GB, free: 33.19 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2976, allocations: 3.938 kB / 0.5593 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2976, allocations: 2.422 kB / 0.5593 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.2976, allocations: 2 kB / 0.5593 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.361e-05/0.2977, allocations: 17.94 kB / 0.5593 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001143/0.2978, allocations: 167.4 kB / 0.5594 GB, free: 32.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.737e-05/0.2979, allocations: 67.66 kB / 0.5595 GB, free: 32.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.2979, allocations: 26.14 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.2979, allocations: 1.406 kB / 0.5595 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.466e-05/0.298, allocations: 40.88 kB / 0.5596 GB, free: 32.88 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.298, allocations: 0 / 0.5596 GB, free: 32.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009162/0.2989, allocations: 0.5904 MB / 0.5601 GB, free: 32.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.792e-05/0.2989, allocations: 53.5 kB / 0.5602 GB, free: 32.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.843e-05/0.299, allocations: 94.34 kB / 0.5603 GB, free: 32.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.299, allocations: 31.95 kB / 0.5603 GB, free: 32.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.264e-05/0.299, allocations: 81.55 kB / 0.5604 GB, free: 32.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.299, allocations: 36.33 kB / 0.5604 GB, free: 32.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.2991, allocations: 28.86 kB / 0.5605 GB, free: 32.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.539e-05/0.2991, allocations: 318.6 kB / 0.5608 GB, free: 31.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.794e-05/0.2992, allocations: 22.44 kB / 0.5608 GB, free: 31.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/0.2992, allocations: 23.78 kB / 0.5608 GB, free: 31.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.902e-05/0.2993, allocations: 57.64 kB / 0.5609 GB, free: 31.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2993, allocations: 0 / 0.5609 GB, free: 31.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001235/0.2994, allocations: 103.7 kB / 0.561 GB, free: 31.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.2994, allocations: 9.5 kB / 0.561 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2994, allocations: 0 / 0.561 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2995, allocations: 1.156 kB / 0.561 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.807e-05/0.2996, allocations: 28.45 kB / 0.561 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.2996, allocations: 1.062 kB / 0.561 GB, free: 31.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.2996, allocations: 9.094 kB / 0.561 GB, free: 31.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.2996, allocations: 2.281 kB / 0.561 GB, free: 31.6 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 4.932e-05/0.2997, allocations: 115.3 kB / 0.5611 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.565e-05/0.2997, allocations: 10.62 kB / 0.5611 GB, free: 31.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001693/0.2999, allocations: 104.8 kB / 0.5612 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2999, allocations: 1.688 kB / 0.5612 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.2999, allocations: 2.875 kB / 0.5612 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.2999, allocations: 0.9375 kB / 0.5612 GB, free: 31.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3002, allocations: 353 kB / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3002, allocations: 0 / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3003, allocations: 25.89 kB / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3003, allocations: 0 / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3003, allocations: 1.844 kB / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3003, allocations: 1.438 kB / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3003, allocations: 2.109 kB / 0.5616 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.3005, allocations: 220.5 kB / 0.5618 GB, free: 30.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.3006, allocations: 78.45 kB / 0.5619 GB, free: 30.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.3006, allocations: 8.453 kB / 0.5619 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.777e-05/0.3007, allocations: 2.969 kB / 0.5619 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3007, allocations: 6.219 kB / 0.5619 GB, free: 30.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.3007, allocations: 2.812 kB / 0.5619 GB, free: 30.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.812e-05/0.3007, allocations: 82.25 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3008, allocations: 1.188 kB / 0.562 GB, free: 30.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002558/0.301, allocations: 38.39 kB / 0.562 GB, free: 30.72 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.0004075/0.3014, allocations: 0.7891 MB / 0.5628 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.3016, allocations: 64.84 kB / 0.5628 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3016, allocations: 0 / 0.5628 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.3016, allocations: 38.03 kB / 0.5629 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.3019, allocations: 7.719 kB / 0.5629 GB, free: 29.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.3029, allocations: 1.509 MB / 0.5644 GB, free: 28.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.807e-05/0.303, allocations: 0.6962 MB / 0.565 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.47e-05/0.3031, allocations: 12.3 kB / 0.5651 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.252e-05/0.3031, allocations: 22.25 kB / 0.5651 GB, free: 27.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3031, allocations: 0 / 0.5651 GB, free: 27.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01167/0.3148, allocations: 1.957 MB / 0.567 GB, free: 27.73 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000126/0.3149, allocations: 239.1 kB / 0.5672 GB, free: 27.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.977, allocations: 2.531 kB / 0.5672 GB, free: 27.48 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)