Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="IDEAS_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_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/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7009/0.7009, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000916/0.000916, allocations: 109 kB / 483.3 MB, free: 5.863 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.288e-05, allocations: 2.75 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 82.3 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5421/0.6933, allocations: 112.2 MB / 0.7501 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/0.6936, allocations: 76.77 kB / 0.7502 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.7062, allocations: 4.558 MB / 0.7546 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7063, allocations: 0 / 0.7546 GB, free: 27.5 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.7063, allocations: 0 / 0.7546 GB, free: 27.5 MB / 0.5105 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.0003772/0.7067, allocations: 354.8 kB / 0.7549 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.7067, allocations: 11.53 kB / 0.755 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.7068, allocations: 36.03 kB / 0.755 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.7068, allocations: 7.75 kB / 0.755 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.7069, allocations: 171 kB / 0.7552 GB, free: 26.89 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.707, allocations: 6.812 kB / 0.7552 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.707, allocations: 3.844 kB / 0.7552 GB, free: 26.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.7071, allocations: 47.11 kB / 0.7552 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.7071, allocations: 3.938 kB / 0.7552 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.7072, allocations: 6.156 kB / 0.7552 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.7072, allocations: 4 kB / 0.7552 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.003e-05/0.7072, allocations: 14.88 kB / 0.7552 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.7074, allocations: 170.1 kB / 0.7554 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.512e-05/0.7075, allocations: 58.69 kB / 0.7555 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.7076, allocations: 27.61 kB / 0.7555 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.7076, allocations: 0 / 0.7555 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.7076, allocations: 37.14 kB / 0.7555 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.7076, allocations: 0 / 0.7555 GB, free: 26.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0009764/0.7086, allocations: 0.5623 MB / 0.7561 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.7087, allocations: 55.28 kB / 0.7561 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.423e-05/0.7087, allocations: 86.44 kB / 0.7562 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.894e-05/0.7088, allocations: 35.83 kB / 0.7562 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.166e-05/0.7088, allocations: 81.02 kB / 0.7563 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.7088, allocations: 45.19 kB / 0.7564 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.7088, allocations: 1.062 kB / 0.7564 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.709, allocations: 321.4 kB / 0.7567 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.709, allocations: 17.72 kB / 0.7567 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.644e-05/0.7091, allocations: 23.7 kB / 0.7567 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.441e-05/0.7091, allocations: 21.14 kB / 0.7567 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.7091, allocations: 0 / 0.7567 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001391/0.7093, allocations: 103.1 kB / 0.7568 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7093, allocations: 3.906 kB / 0.7568 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.7093, allocations: 3.812 kB / 0.7568 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.7093, allocations: 0 / 0.7568 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.805e-05/0.7094, allocations: 18.59 kB / 0.7569 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7094, allocations: 3.844 kB / 0.7569 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.77e-05/0.7095, allocations: 1.438 kB / 0.7569 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.7095, allocations: 4.656 kB / 0.7569 GB, free: 25.46 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.974e-05/0.7096, allocations: 111.9 kB / 0.757 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.7096, allocations: 15.06 kB / 0.757 GB, free: 25.34 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.7098, allocations: 101.2 kB / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7098, allocations: 0 / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7098, allocations: 2.766 kB / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7098, allocations: 0 / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003839/0.7102, allocations: 349.3 kB / 0.7574 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.7102, allocations: 0 / 0.7574 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.7103, allocations: 18.44 kB / 0.7574 GB, free: 25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.7104, allocations: 7.844 kB / 0.7574 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.7104, allocations: 6.984 kB / 0.7574 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7104, allocations: 0 / 0.7574 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7104, allocations: 0 / 0.7574 GB, free: 24.99 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.7106, allocations: 222.2 kB / 0.7577 GB, free: 24.84 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.7107, allocations: 81.02 kB / 0.7577 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7107, allocations: 2.25 kB / 0.7577 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.7108, allocations: 7.094 kB / 0.7577 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.7108, allocations: 9.953 kB / 0.7578 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.7108, allocations: 7.812 kB / 0.7578 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.261e-05/0.7109, allocations: 77.39 kB / 0.7578 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7109, allocations: 0 / 0.7578 GB, free: 24.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003027/0.7112, allocations: 45.58 kB / 0.7579 GB, free: 24.65 MB / 0.5105 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 () * 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 (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.000643/0.7118, allocations: 0.7983 MB / 0.7587 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.712, allocations: 62.33 kB / 0.7587 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.712, allocations: 3.938 kB / 0.7587 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.019e-05/0.712, allocations: 30.5 kB / 0.7588 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.7122, allocations: 0 / 0.7588 GB, free: 23.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005762/0.7128, allocations: 290.1 kB / 0.759 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.713, allocations: 0.6867 MB / 0.7597 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.7131, allocations: 14.62 kB / 0.7597 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.7132, allocations: 17.31 kB / 0.7597 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of SimCode: time 2.2e-07/0.7132, allocations: 4 kB / 0.7597 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01254/0.7257, allocations: 1.74 MB / 0.7614 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.7259, allocations: 186.8 kB / 0.7616 GB, free: 22.23 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.341, allocations: 5.406 kB / 0.7616 GB, free: 22.23 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)