Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_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.001105/0.001105, allocations: 104.2 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.001122/0.001122, allocations: 190.3 kB / 16.9 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.275/1.275, 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.6792/0.6792, allocations: 115.3 MB / 406.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 68.05 kB / 493.2 MB, free: 0.5938 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3268, allocations: 76.17 MB / 0.556 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002086/0.3289, allocations: 1.525 MB / 0.5575 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000785/0.3297, allocations: 0.6282 MB / 0.5581 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.3298, allocations: 1.219 kB / 0.5581 GB, free: 34.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.136e-05/0.3298, allocations: 6.469 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.442e-05/0.3299, allocations: 2.531 kB / 0.5581 GB, free: 34.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.3305, allocations: 144.2 kB / 0.5583 GB, free: 34.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.762e-05/0.3305, allocations: 46.23 kB / 0.5583 GB, free: 34.65 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.674e-05/0.3306, allocations: 13.38 kB / 0.5583 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.593e-05/0.3306, allocations: 19.44 kB / 0.5584 GB, free: 34.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.3307, allocations: 26.73 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.3307, allocations: 3.844 kB / 0.5584 GB, free: 34.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.3311, allocations: 350.6 kB / 0.5587 GB, free: 34.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.6e-05/0.3311, allocations: 16 kB / 0.5587 GB, free: 34.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.3312, allocations: 27.41 kB / 0.5588 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002593/0.3314, allocations: 175.5 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3314, allocations: 0.6562 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3315, allocations: 1.219 kB / 0.5589 GB, free: 34.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3315, allocations: 0 / 0.5589 GB, free: 34.44 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000472/0.3319, allocations: 399.6 kB / 0.5593 GB, free: 34.04 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.332, allocations: 9.062 kB / 0.5593 GB, free: 34.04 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.332, allocations: 35.44 kB / 0.5593 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.3321, allocations: 8.438 kB / 0.5594 GB, free: 34 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.917e-05/0.3321, allocations: 182.6 kB / 0.5595 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.3322, allocations: 3.156 kB / 0.5595 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.115e-05/0.3322, allocations: 9 kB / 0.5595 GB, free: 33.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3324, allocations: 75.7 kB / 0.5596 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3324, allocations: 7.406 kB / 0.5596 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.3324, allocations: 0 / 0.5596 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.3324, allocations: 3.25 kB / 0.5596 GB, free: 33.74 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002339/0.3327, allocations: 47.98 kB / 0.5597 GB, free: 33.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.3331, allocations: 328 kB / 0.56 GB, free: 33.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/0.3334, allocations: 79.16 kB / 0.5601 GB, free: 33.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.3335, allocations: 28.42 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.3336, allocations: 2.141 kB / 0.5601 GB, free: 33.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.53e-05/0.3336, allocations: 45.47 kB / 0.5601 GB, free: 33.33 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.3336, allocations: 0 / 0.5601 GB, free: 33.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001455/0.3351, allocations: 0.6384 MB / 0.5608 GB, free: 32.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.3351, allocations: 53.67 kB / 0.5608 GB, free: 32.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.722e-05/0.3351, allocations: 105.8 kB / 0.5609 GB, free: 32.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.3352, allocations: 26.83 kB / 0.5609 GB, free: 32.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.362e-05/0.3352, allocations: 95.84 kB / 0.561 GB, free: 32.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3352, allocations: 40.55 kB / 0.5611 GB, free: 32.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.3353, allocations: 29.66 kB / 0.5611 GB, free: 32.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.021e-05/0.3353, allocations: 323.3 kB / 0.5614 GB, free: 32.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3354, allocations: 32.47 kB / 0.5614 GB, free: 32.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001242/0.3356, allocations: 38.45 kB / 0.5615 GB, free: 32.14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002418/0.3358, allocations: 71.64 kB / 0.5615 GB, free: 32.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3358, allocations: 0 / 0.5615 GB, free: 32.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003154/0.3362, allocations: 116.6 kB / 0.5616 GB, free: 32.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.3362, allocations: 5.625 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3362, allocations: 1.094 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3362, allocations: 1.406 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.3364, allocations: 28.92 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3364, allocations: 5.969 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.3365, allocations: 5.969 kB / 0.5617 GB, free: 32.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.3365, allocations: 5.672 kB / 0.5617 GB, free: 32.05 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.528e-05/0.3365, allocations: 123.5 kB / 0.5618 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.3366, allocations: 6.594 kB / 0.5618 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.337, allocations: 127.2 kB / 0.5619 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.337, allocations: 2.812 kB / 0.5619 GB, free: 31.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.337, allocations: 3.938 kB / 0.562 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.337, allocations: 1.719 kB / 0.562 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005006/0.3375, allocations: 384.8 kB / 0.5623 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3375, allocations: 1.562 kB / 0.5623 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3377, allocations: 25.58 kB / 0.5623 GB, free: 31.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3377, allocations: 5.656 kB / 0.5624 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3377, allocations: 0.8438 kB / 0.5624 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3377, allocations: 2 kB / 0.5624 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3377, allocations: 0.7031 kB / 0.5624 GB, free: 31.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3382, allocations: 257.5 kB / 0.5626 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.949e-05/0.3382, allocations: 84.41 kB / 0.5627 GB, free: 31.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.3382, allocations: 9.281 kB / 0.5627 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.3384, allocations: 8.391 kB / 0.5627 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.316e-05/0.3384, allocations: 6.297 kB / 0.5627 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.3384, allocations: 7.875 kB / 0.5627 GB, free: 31.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.222e-05/0.3384, allocations: 82.42 kB / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3384, allocations: 0 / 0.5628 GB, free: 31.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3387, allocations: 40.36 kB / 0.5628 GB, free: 31.14 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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.0006621/0.3394, allocations: 0.8218 MB / 0.5636 GB, free: 30.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.3397, allocations: 85.64 kB / 0.5637 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.3397, allocations: 2.125 kB / 0.5637 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.3398, allocations: 42.5 kB / 0.5638 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3401, allocations: 11.45 kB / 0.5638 GB, free: 30.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.3418, allocations: 1.627 MB / 0.5654 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.3419, allocations: 0.6905 MB / 0.566 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.803e-05/0.342, allocations: 8.625 kB / 0.566 GB, free: 28.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.342, allocations: 32.09 kB / 0.5661 GB, free: 28.33 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3421, allocations: 1.125 kB / 0.5661 GB, free: 28.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.3547, allocations: 2.213 MB / 0.5682 GB, free: 28.07 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001289/0.3549, allocations: 246.5 kB / 0.5685 GB, free: 27.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.113, allocations: 2.406 kB / 0.5685 GB, free: 27.82 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2.fmu > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1)