Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="IDEAS_IDEAS_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.0009645/0.0009645, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005388/0.005388, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.272/1.272, allocations: 223.2 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002998/0.0002998, allocations: 8.562 kB / 0.5041 GB, free: 3.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3515, allocations: 81.57 MB / 0.5838 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.00121/0.3528, allocations: 0.9964 MB / 0.5847 GB, free: 3.27 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.3537, allocations: 0.6152 MB / 0.5853 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.688e-05/0.3537, allocations: 3.938 kB / 0.5853 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.398e-05/0.3538, allocations: 0.5625 kB / 0.5853 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.3538, allocations: 13.95 kB / 0.5853 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005457/0.3544, allocations: 120.7 kB / 0.5855 GB, free: 2.781 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.3544, allocations: 22.75 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3545, allocations: 2.812 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.455e-05/0.3545, allocations: 5.062 kB / 0.5855 GB, free: 2.77 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.452e-05/0.3546, allocations: 13.16 kB / 0.5855 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3546, allocations: 1 kB / 0.5855 GB, free: 2.762 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005824/0.3552, allocations: 344.1 kB / 0.5858 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.221e-05/0.3552, allocations: 6.469 kB / 0.5858 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.3552, allocations: 34.42 kB / 0.5859 GB, free: 2.621 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002757/0.3555, allocations: 152.1 kB / 0.586 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3555, allocations: 0 / 0.586 GB, free: 2.57 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3555, allocations: 0 / 0.586 GB, free: 2.57 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.3555, allocations: 0 / 0.586 GB, free: 2.57 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.0003235/0.3559, allocations: 355 kB / 0.5864 GB, free: 2.195 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3559, allocations: 9.281 kB / 0.5864 GB, free: 2.195 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.356, allocations: 32.39 kB / 0.5864 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.356, allocations: 2.406 kB / 0.5864 GB, free: 2.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.066e-05/0.3561, allocations: 172.2 kB / 0.5866 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.3561, allocations: 5.875 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.3561, allocations: 0.875 kB / 0.5866 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.3562, allocations: 44.33 kB / 0.5866 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.3562, allocations: 0 / 0.5866 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3562, allocations: 0.6562 kB / 0.5866 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3562, allocations: 0.7188 kB / 0.5866 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.017e-05/0.3563, allocations: 12.58 kB / 0.5866 GB, free: 1.906 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.3564, allocations: 162.6 kB / 0.5868 GB, free: 1.707 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.3566, allocations: 40.39 kB / 0.5868 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.3566, allocations: 17.36 kB / 0.5868 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3567, allocations: 5.031 kB / 0.5868 GB, free: 1.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.3567, allocations: 36.61 kB / 0.5869 GB, free: 1.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.3567, allocations: 0 / 0.5869 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005414/0.3572, allocations: 321 kB / 0.5872 GB, free: 1.324 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.3573, allocations: 53.22 kB / 0.5872 GB, free: 1.262 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.249e-05/0.3573, allocations: 103.6 kB / 0.5873 GB, free: 1.156 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.3573, allocations: 25.7 kB / 0.5873 GB, free: 1.125 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.334e-05/0.3573, allocations: 82.25 kB / 0.5874 GB, free: 1.043 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.3574, allocations: 23.12 kB / 0.5874 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.3574, allocations: 13.05 kB / 0.5875 GB, free: 1.008 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.46e-05/0.3574, allocations: 317.3 kB / 0.5878 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.683e-05/0.3575, allocations: 19.52 kB / 0.5878 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.3575, allocations: 8.125 kB / 0.5878 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.59e-05/0.3576, allocations: 33.02 kB / 0.5878 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3576, allocations: 0.6875 kB / 0.5878 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.618e-05/0.3577, allocations: 71.58 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.3577, allocations: 5.609 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3577, allocations: 0.75 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3577, allocations: 1.031 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.556e-05/0.3578, allocations: 10.98 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3578, allocations: 0.9375 kB / 0.5879 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.784e-05/0.3578, allocations: 8.812 kB / 0.5879 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.3578, allocations: 2.406 kB / 0.5879 GB, free: 0.6016 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.552e-05/0.3579, allocations: 113.8 kB / 0.588 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.085e-05/0.3579, allocations: 2.281 kB / 0.588 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.358, allocations: 81.28 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.358, allocations: 1.188 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.358, allocations: 0.7031 kB / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-06/0.358, allocations: 0 / 0.5881 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.3583, allocations: 317.3 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3583, allocations: 0.75 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.058e-05/0.3584, allocations: 11.69 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.3584, allocations: 1.281 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3584, allocations: 1.219 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3584, allocations: 1.875 kB / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3584, allocations: 0 / 0.5884 GB, free: 100 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.3586, allocations: 188.4 kB / 0.5886 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.3587, allocations: 81.64 kB / 0.5887 GB, free: 15.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.3587, allocations: 5.734 kB / 0.5887 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.3588, allocations: 5.531 kB / 0.5887 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.3588, allocations: 5.094 kB / 0.5887 GB, free: 15.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.3588, allocations: 7.016 kB / 0.5887 GB, free: 15.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.433e-05/0.3588, allocations: 81.67 kB / 0.5888 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3588, allocations: 5.562 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.3591, allocations: 23.05 kB / 0.5888 GB, free: 15.73 MB / 446.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 (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.0004673/0.3596, allocations: 0.7333 MB / 0.5895 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001026/0.3597, allocations: 31.08 kB / 0.5896 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3597, allocations: 4.062 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.31e-05/0.3598, allocations: 21.27 kB / 0.5896 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.36, allocations: 14.83 kB / 0.5896 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.3612, allocations: 1.346 MB / 0.5909 GB, free: 13.73 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3614, allocations: 0.684 MB / 0.5916 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.302e-05/0.3614, allocations: 6.078 kB / 0.5916 GB, free: 13.03 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.01e-05/0.3615, allocations: 10.55 kB / 0.5916 GB, free: 13.02 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3615, allocations: 0 / 0.5916 GB, free: 13.02 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.16/0.5215, allocations: 1.37 MB / 0.5929 GB, free: 12.89 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/0.5217, allocations: 237.2 kB / 0.5932 GB, free: 12.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.573/2.095, allocations: 0 / 0.5932 GB, free: 12.64 MB / 446.1 MB (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)