Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_dev_IDEAS_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.005701/0.005701, allocations: 100.5 kB / 15.73 MB, free: 5.988 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.001362/0.001362, allocations: 192.5 kB / 16.67 MB, free: 5.91 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: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9054/0.9054, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.89 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4018, allocations: 80.92 MB / 0.6642 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001914/0.4037, allocations: 1.284 MB / 0.6654 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008431/0.4046, allocations: 0.6123 MB / 0.666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.12e-05/0.4047, allocations: 0 / 0.666 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.146e-05/0.4047, allocations: 3.938 kB / 0.666 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.643e-05/0.4047, allocations: 5.344 kB / 0.666 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.4053, allocations: 152.4 kB / 0.6662 GB, free: 5.594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.491e-05/0.4054, allocations: 29.45 kB / 0.6662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.4054, allocations: 2.688 kB / 0.6662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.482e-05/0.4055, allocations: 14.12 kB / 0.6662 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.4055, allocations: 11.8 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.4055, allocations: 1.562 kB / 0.6662 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004347/0.406, allocations: 346.9 kB / 0.6666 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.406, allocations: 9.375 kB / 0.6666 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.406, allocations: 17.5 kB / 0.6666 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.4063, allocations: 152.3 kB / 0.6667 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.4063, allocations: 1.594 kB / 0.6667 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.442e-06/0.4063, allocations: 0 / 0.6667 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4063, allocations: 0 / 0.6667 GB, free: 5.258 MB / 0.4981 GB 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.0003419/0.4067, allocations: 362.5 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.4067, allocations: 9.25 kB / 0.6671 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.973e-05/0.4067, allocations: 43.92 kB / 0.6671 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.956e-05/0.4068, allocations: 8.219 kB / 0.6671 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.4069, allocations: 165.5 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.4069, allocations: 1.469 kB / 0.6673 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/0.4069, allocations: 11.41 kB / 0.6673 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.407, allocations: 49.17 kB / 0.6673 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.407, allocations: 3.938 kB / 0.6673 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.407, allocations: 1.125 kB / 0.6674 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4071, allocations: 1.062 kB / 0.6674 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.4071, allocations: 30.69 kB / 0.6674 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.4072, allocations: 166.2 kB / 0.6675 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.4073, allocations: 54.84 kB / 0.6676 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.977e-05/0.4074, allocations: 34.28 kB / 0.6676 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.4074, allocations: 1.312 kB / 0.6676 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.4074, allocations: 35.81 kB / 0.6677 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4074, allocations: 0 / 0.6677 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0009738/0.4084, allocations: 0.587 MB / 0.6682 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.4085, allocations: 57.97 kB / 0.6683 GB, free: 3.625 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.452e-05/0.4085, allocations: 96.33 kB / 0.6684 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.217e-06/0.4085, allocations: 25.7 kB / 0.6684 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.59e-05/0.4085, allocations: 93.66 kB / 0.6685 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.4086, allocations: 35.31 kB / 0.6685 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-05/0.4086, allocations: 30.73 kB / 0.6686 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.4087, allocations: 316.2 kB / 0.6689 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.938e-05/0.4087, allocations: 24.98 kB / 0.6689 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.4087, allocations: 21.67 kB / 0.6689 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.206e-05/0.4088, allocations: 58.89 kB / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4088, allocations: 0 / 0.669 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001284/0.409, allocations: 97.14 kB / 0.6691 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.409, allocations: 13.53 kB / 0.6691 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.409, allocations: 0 / 0.6691 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.409, allocations: 1.156 kB / 0.6691 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.4091, allocations: 17.56 kB / 0.6691 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.4091, allocations: 5.422 kB / 0.6691 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.34e-05/0.4092, allocations: 1.344 kB / 0.6691 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.4092, allocations: 1.656 kB / 0.6691 GB, free: 2.902 MB / 0.4981 GB 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.219e-05/0.4092, allocations: 118.8 kB / 0.6692 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.437e-05/0.4093, allocations: 6.719 kB / 0.6692 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.4094, allocations: 110.9 kB / 0.6693 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.4094, allocations: 1.375 kB / 0.6693 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4095, allocations: 0 / 0.6693 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.4095, allocations: 5.359 kB / 0.6693 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003023/0.4098, allocations: 355.5 kB / 0.6697 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.4098, allocations: 5.281 kB / 0.6697 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.4099, allocations: 20.97 kB / 0.6697 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4099, allocations: 5.219 kB / 0.6697 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4099, allocations: 5.344 kB / 0.6697 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4099, allocations: 4 kB / 0.6697 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4099, allocations: 3.984 kB / 0.6697 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4101, allocations: 213.8 kB / 0.6699 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.754e-05/0.4102, allocations: 79.73 kB / 0.67 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.4102, allocations: 3.938 kB / 0.67 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.356e-05/0.4103, allocations: 6.312 kB / 0.67 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.4103, allocations: 11.95 kB / 0.67 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.4103, allocations: 6.25 kB / 0.67 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.087e-05/0.4103, allocations: 77.81 kB / 0.6701 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4103, allocations: 0 / 0.6701 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002695/0.4106, allocations: 44.33 kB / 0.6701 GB, free: 1.938 MB / 0.4981 GB 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.000433/0.4111, allocations: 0.771 MB / 0.6709 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.4112, allocations: 66.77 kB / 0.6709 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4112, allocations: 0 / 0.6709 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.644e-05/0.4113, allocations: 38.91 kB / 0.671 GB, free: 1.184 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.4115, allocations: 14.78 kB / 0.671 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001262/0.4128, allocations: 1.508 MB / 0.6725 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.413, allocations: 0.6876 MB / 0.6731 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.975e-05/0.4131, allocations: 13.66 kB / 0.6732 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.4131, allocations: 25.62 kB / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of SimCode: time 6.01e-07/0.4132, allocations: 0 / 0.6732 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01976/0.4329, allocations: 2.05 MB / 0.6752 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.866, allocations: 15.08 kB / 0.6752 GB, free: 13.97 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)