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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001427/0.001426, allocations: 100.3 kB / 15.05 MB, free: 1.105 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.001621/0.001621, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.301/2.301, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.315/1.315, allocations: 132.2 MB / 423.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005424/0.0005428, allocations: 10.06 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7383/0.7389, allocations: 81.57 MB / 0.583 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001918/0.7409, allocations: 0.9856 MB / 0.5839 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000853/0.7418, allocations: 349.6 kB / 0.5843 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.808e-05/0.7418, allocations: 3.938 kB / 0.5843 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.27e-05/0.7418, allocations: 8.5 kB / 0.5843 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.417e-05/0.7419, allocations: 9.328 kB / 0.5843 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005317/0.7425, allocations: 71.64 kB / 0.5844 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.247e-05/0.7425, allocations: 18.81 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.7426, allocations: 2.719 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.055e-05/0.7427, allocations: 11.52 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.7428, allocations: 15.94 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.7428, allocations: 1.562 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004732/0.7433, allocations: 184.2 kB / 0.5846 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.7433, allocations: 7.328 kB / 0.5846 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.621e-05/0.7433, allocations: 36.45 kB / 0.5846 GB, free: 2.887 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.7435, allocations: 52.64 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7436, allocations: 0 / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.7436, allocations: 1.094 kB / 0.5847 GB, free: 2.879 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.7436, allocations: 0 / 0.5847 GB, free: 2.879 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004337/0.744, allocations: 349.5 kB / 0.585 GB, free: 2.508 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.598e-05/0.7441, allocations: 9.281 kB / 0.585 GB, free: 2.508 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.7441, allocations: 36.83 kB / 0.5851 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.7442, allocations: 2.75 kB / 0.5851 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001181/0.7443, allocations: 170 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.7444, allocations: 1.438 kB / 0.5852 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.7444, allocations: 7.422 kB / 0.5852 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.7446, allocations: 45.12 kB / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.7446, allocations: 2 kB / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.7446, allocations: 0 / 0.5853 GB, free: 2.223 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.7446, allocations: 9.266 kB / 0.5853 GB, free: 2.215 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.668e-05/0.7447, allocations: 21.8 kB / 0.5853 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002145/0.745, allocations: 179.1 kB / 0.5855 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.7451, allocations: 56.61 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.7452, allocations: 1.281 kB / 0.5855 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/0.7452, allocations: 36.36 kB / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.7452, allocations: 0 / 0.5856 GB, free: 1.918 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001511/0.7467, allocations: 0.5843 MB / 0.5861 GB, free: 1.402 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.7468, allocations: 56.78 kB / 0.5862 GB, free: 1.336 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.286e-05/0.7469, allocations: 98.41 kB / 0.5863 GB, free: 1.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.7469, allocations: 29.64 kB / 0.5863 GB, free: 1.199 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.326e-05/0.7469, allocations: 86.39 kB / 0.5864 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.747, allocations: 35.3 kB / 0.5864 GB, free: 1.086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.747, allocations: 4 kB / 0.5864 GB, free: 1.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.875e-05/0.7471, allocations: 322 kB / 0.5867 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.7472, allocations: 18.59 kB / 0.5868 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.7472, allocations: 27 kB / 0.5868 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.163e-05/0.7473, allocations: 24.42 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.7473, allocations: 0.7188 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002065/0.7475, allocations: 95.92 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7476, allocations: 5.5 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7476, allocations: 4.781 kB / 0.5869 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7476, allocations: 4 kB / 0.5869 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.7478, allocations: 21.23 kB / 0.5869 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.7478, allocations: 1.438 kB / 0.5869 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.7478, allocations: 4 kB / 0.5869 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/0.7478, allocations: 4 kB / 0.5869 GB, free: 0.6719 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 (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 9.311e-05/0.7479, allocations: 116.7 kB / 0.587 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.748, allocations: 3.797 kB / 0.5871 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000279/0.7483, allocations: 108.6 kB / 0.5872 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.7483, allocations: 5.469 kB / 0.5872 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.7483, allocations: 0.875 kB / 0.5872 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.7483, allocations: 0.75 kB / 0.5872 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005033/0.7488, allocations: 359.4 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/0.7488, allocations: 1.359 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.749, allocations: 20.05 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.749, allocations: 0 / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.696e-05/0.7491, allocations: 2.516 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.7491, allocations: 0.8281 kB / 0.5875 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.7491, allocations: 8.781 kB / 0.5875 GB, free: 140 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.7495, allocations: 213.6 kB / 0.5877 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.7496, allocations: 83.64 kB / 0.5878 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.7496, allocations: 7.016 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.7498, allocations: 5.828 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.7498, allocations: 6.406 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.7498, allocations: 3.281 kB / 0.5878 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.762e-05/0.7499, allocations: 85.17 kB / 0.5879 GB, free: 15.79 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.7499, allocations: 1.594 kB / 0.5879 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005455/0.7505, allocations: 36.62 kB / 0.588 GB, free: 15.77 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 (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.00102/0.7515, allocations: 0.7767 MB / 0.5887 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002961/0.7518, allocations: 64.55 kB / 0.5888 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.7518, allocations: 4 kB / 0.5888 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.752, allocations: 40.81 kB / 0.5888 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002681/0.7523, allocations: 5.766 kB / 0.5888 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.7542, allocations: 0.6631 MB / 0.5895 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.7546, allocations: 0.6881 MB / 0.5901 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.823e-05/0.7547, allocations: 7.969 kB / 0.5902 GB, free: 13.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.273e-05/0.7547, allocations: 17.62 kB / 0.5902 GB, free: 13.8 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7547, allocations: 0.9062 kB / 0.5902 GB, free: 13.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.7748, allocations: 1.775 MB / 0.5919 GB, free: 13.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.7752, allocations: 211.7 kB / 0.5921 GB, free: 13.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.283, allocations: 0 / 0.5921 GB, free: 13.42 MB / 446.1 MB (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) Environment - environmentSimulation: