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: "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",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.001517/0.001517, allocations: 96.66 kB / 15.69 MB, free: 480 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.002348/0.002348, allocations: 176.6 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.428/2.428, allocations: 223.2 MB / 240.5 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.187/1.187, allocations: 113.7 MB / 405.3 MB, free: 4.645 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007361/0.0007362, allocations: 13.31 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3252, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00225/0.3276, allocations: 0.98 MB / 0.5577 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009494/0.3286, allocations: 345.2 kB / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.686e-05/0.3286, allocations: 0 / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.3287, allocations: 0 / 0.558 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.657e-05/0.3287, allocations: 7.984 kB / 0.558 GB, free: 10.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.3293, allocations: 75.77 kB / 0.5581 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.814e-05/0.3294, allocations: 11.92 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.58e-05/0.3295, allocations: 4 kB / 0.5581 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.213e-05/0.3296, allocations: 8 kB / 0.5581 GB, free: 10.26 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.551e-05/0.3297, allocations: 11.92 kB / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3297, allocations: 0 / 0.5581 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.3302, allocations: 179.7 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.933e-05/0.3302, allocations: 11.92 kB / 0.5583 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.3303, allocations: 29.7 kB / 0.5583 GB, free: 10.03 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002064/0.3305, allocations: 52.16 kB / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3305, allocations: 0 / 0.5584 GB, free: 9.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.597e-06/0.3305, allocations: 4 kB / 0.5584 GB, free: 9.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.3305, allocations: 0 / 0.5584 GB, free: 9.973 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.0006649/0.3312, allocations: 335.4 kB / 0.5587 GB, free: 9.598 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.45e-05/0.3313, allocations: 8.031 kB / 0.5587 GB, free: 9.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.243e-05/0.3314, allocations: 30.56 kB / 0.5587 GB, free: 9.551 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.3314, allocations: 7.906 kB / 0.5588 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3317, allocations: 159.1 kB / 0.5589 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.3317, allocations: 4 kB / 0.5589 GB, free: 9.344 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.3318, allocations: 7.953 kB / 0.5589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.332, allocations: 45.62 kB / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3321, allocations: 0 / 0.559 GB, free: 9.285 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3321, allocations: 7.984 kB / 0.559 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.3321, allocations: 0 / 0.559 GB, free: 9.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.54e-05/0.3322, allocations: 11.92 kB / 0.559 GB, free: 9.266 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.3325, allocations: 161.7 kB / 0.5591 GB, free: 9.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.3328, allocations: 38.61 kB / 0.5592 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.105e-05/0.3329, allocations: 4 kB / 0.5592 GB, free: 9.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.333, allocations: 38.45 kB / 0.5592 GB, free: 8.961 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.3331, allocations: 0 / 0.5592 GB, free: 8.961 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001001/0.3341, allocations: 318.3 kB / 0.5595 GB, free: 8.598 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.471e-05/0.3341, allocations: 51.41 kB / 0.5596 GB, free: 8.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.3343, allocations: 97.86 kB / 0.5597 GB, free: 8.43 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.3343, allocations: 29.7 kB / 0.5597 GB, free: 8.395 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.3344, allocations: 80.14 kB / 0.5598 GB, free: 8.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.3345, allocations: 31.62 kB / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-06/0.3345, allocations: 0 / 0.5598 GB, free: 8.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002436/0.3347, allocations: 310.8 kB / 0.5601 GB, free: 7.969 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.923e-05/0.3348, allocations: 12 kB / 0.5601 GB, free: 7.957 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.357e-05/0.3348, allocations: 11.98 kB / 0.5601 GB, free: 7.945 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.127e-05/0.3349, allocations: 12 kB / 0.5601 GB, free: 7.934 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3349, allocations: 0 / 0.5601 GB, free: 7.934 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001823/0.3351, allocations: 73.62 kB / 0.5602 GB, free: 7.855 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.787e-05/0.3351, allocations: 7.953 kB / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3351, allocations: 0 / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.062e-05/0.3352, allocations: 0 / 0.5602 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.3353, allocations: 12 kB / 0.5602 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.3353, allocations: 0 / 0.5602 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.911e-05/0.3353, allocations: 0 / 0.5602 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.3354, allocations: 4 kB / 0.5602 GB, free: 7.832 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002074/0.3356, allocations: 113.8 kB / 0.5603 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.41e-05/0.3356, allocations: 7.906 kB / 0.5603 GB, free: 7.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002194/0.3359, allocations: 77.55 kB / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.3359, allocations: 0 / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3359, allocations: 0 / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.3359, allocations: 0 / 0.5604 GB, free: 7.621 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005544/0.3365, allocations: 311.4 kB / 0.5607 GB, free: 7.258 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3365, allocations: 3.953 kB / 0.5607 GB, free: 7.254 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.518e-05/0.3366, allocations: 12 kB / 0.5607 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3366, allocations: 0 / 0.5607 GB, free: 7.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.3366, allocations: 11.97 kB / 0.5607 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3366, allocations: 4 kB / 0.5607 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3367, allocations: 0 / 0.5607 GB, free: 7.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.337, allocations: 198.2 kB / 0.5609 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.3371, allocations: 85.56 kB / 0.561 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.3371, allocations: 3.984 kB / 0.561 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000128/0.3373, allocations: 8.062 kB / 0.561 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.3373, allocations: 4 kB / 0.561 GB, free: 6.891 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.3373, allocations: 4 kB / 0.561 GB, free: 6.887 MB / 430.1 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.3374, allocations: 79.27 kB / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3374, allocations: 0 / 0.5611 GB, free: 6.809 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000507/0.3379, allocations: 31.92 kB / 0.5611 GB, free: 6.777 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.3391, allocations: 0.8078 MB / 0.5619 GB, free: 5.938 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001913/0.3393, allocations: 28 kB / 0.5619 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3393, allocations: 0 / 0.5619 GB, free: 5.91 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.959e-05/0.3394, allocations: 27.86 kB / 0.562 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.3397, allocations: 4 kB / 0.562 GB, free: 5.879 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3412, allocations: 0.4885 MB / 0.5625 GB, free: 5.336 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.3418, allocations: 0.6809 MB / 0.5631 GB, free: 4.629 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.759e-05/0.3418, allocations: 15.91 kB / 0.5631 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.3419, allocations: 15.44 kB / 0.5631 GB, free: 4.598 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3419, allocations: 0 / 0.5631 GB, free: 4.598 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02578/0.3677, allocations: 1.355 MB / 0.5645 GB, free: 3.441 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004008/0.3682, allocations: 215.1 kB / 0.5647 GB, free: 3.203 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/3.412, allocations: 0 / 0.5647 GB, free: 3.203 MB / 430.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: