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.0007989/0.000799, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.000964/0.0009638, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7453/0.7453, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003766, allocations: 10.28 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 81.58 MB / 0.5832 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001306/0.379, allocations: 0.9887 MB / 0.5841 GB, free: 3.25 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008281/0.3799, allocations: 0.5621 MB / 0.5847 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.573e-05/0.3799, allocations: 0 / 0.5847 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.288e-05/0.3799, allocations: 0.6562 kB / 0.5847 GB, free: 2.863 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.547e-05/0.38, allocations: 5.719 kB / 0.5847 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.3806, allocations: 121.9 kB / 0.5848 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.289e-05/0.3806, allocations: 17.73 kB / 0.5848 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.3807, allocations: 2.094 kB / 0.5848 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.211e-05/0.3807, allocations: 13.38 kB / 0.5848 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.676e-05/0.3808, allocations: 9.344 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3808, allocations: 0.875 kB / 0.5848 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.3813, allocations: 340.2 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.019e-05/0.3814, allocations: 1.422 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.3814, allocations: 27.98 kB / 0.5852 GB, free: 2.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001987/0.3816, allocations: 98.23 kB / 0.5853 GB, free: 2.637 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3816, allocations: 3.938 kB / 0.5853 GB, free: 2.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3816, allocations: 1.281 kB / 0.5853 GB, free: 2.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3816, allocations: 0 / 0.5853 GB, free: 2.633 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.0003159/0.3819, allocations: 362.1 kB / 0.5856 GB, free: 2.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.382, allocations: 9.375 kB / 0.5856 GB, free: 2.25 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.931e-05/0.382, allocations: 31.81 kB / 0.5857 GB, free: 2.211 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.3821, allocations: 10.64 kB / 0.5857 GB, free: 2.203 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.3821, allocations: 165.7 kB / 0.5858 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.3821, allocations: 0.75 kB / 0.5858 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.3822, allocations: 2.156 kB / 0.5858 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.568e-05/0.3823, allocations: 39.22 kB / 0.5859 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3823, allocations: 0.8438 kB / 0.5859 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3823, allocations: 0 / 0.5859 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.3823, allocations: 13.69 kB / 0.5859 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.3824, allocations: 11.72 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00012/0.3825, allocations: 162.7 kB / 0.5861 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001715/0.3827, allocations: 43.47 kB / 0.5861 GB, free: 1.723 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.993e-05/0.3827, allocations: 18.36 kB / 0.5861 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.3827, allocations: 2.781 kB / 0.5861 GB, free: 1.711 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.613e-05/0.3828, allocations: 39.36 kB / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.3828, allocations: 0 / 0.5862 GB, free: 1.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005285/0.3833, allocations: 299.9 kB / 0.5864 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.3833, allocations: 56.92 kB / 0.5865 GB, free: 1.32 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.976e-05/0.3834, allocations: 99.55 kB / 0.5866 GB, free: 1.219 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-06/0.3834, allocations: 30.25 kB / 0.5866 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.49e-05/0.3834, allocations: 81.05 kB / 0.5867 GB, free: 1.102 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3834, allocations: 23.77 kB / 0.5867 GB, free: 1.082 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.3834, allocations: 1.156 kB / 0.5867 GB, free: 1.082 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.043e-05/0.3835, allocations: 321.1 kB / 0.587 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.66e-05/0.3835, allocations: 11.97 kB / 0.587 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.26e-05/0.3836, allocations: 15.55 kB / 0.5871 GB, free: 0.75 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.933e-05/0.3836, allocations: 11.59 kB / 0.5871 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3836, allocations: 0.6562 kB / 0.5871 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.537e-05/0.3837, allocations: 71.73 kB / 0.5871 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.3837, allocations: 5.781 kB / 0.5871 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3837, allocations: 4 kB / 0.5871 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3837, allocations: 1.375 kB / 0.5871 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.396e-05/0.3838, allocations: 14.97 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3838, allocations: 0.6562 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.3838, allocations: 1.375 kB / 0.5872 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.3838, allocations: 1.094 kB / 0.5872 GB, free: 0.6875 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.3839, allocations: 118.6 kB / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-06/0.3839, allocations: 1.922 kB / 0.5873 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.384, allocations: 72.83 kB / 0.5873 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.3841, allocations: 0.75 kB / 0.5874 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3841, allocations: 4.625 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3841, allocations: 1.516 kB / 0.5874 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.3844, allocations: 312.6 kB / 0.5877 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.3844, allocations: 4.656 kB / 0.5877 GB, free: 188 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.516e-05/0.3844, allocations: 14.89 kB / 0.5877 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3845, allocations: 1.766 kB / 0.5877 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.3845, allocations: 1.344 kB / 0.5877 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3845, allocations: 5.422 kB / 0.5877 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3845, allocations: 0.7188 kB / 0.5877 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.3846, allocations: 180.7 kB / 0.5879 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.259e-05/0.3847, allocations: 80.88 kB / 0.5879 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3847, allocations: 1.844 kB / 0.5879 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.3848, allocations: 1.891 kB / 0.5879 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.537e-05/0.3848, allocations: 8.297 kB / 0.5879 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.3849, allocations: 6.75 kB / 0.5879 GB, free: 15.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.794e-05/0.3849, allocations: 91.36 kB / 0.588 GB, free: 15.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3849, allocations: 0 / 0.588 GB, free: 15.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.3852, allocations: 23.22 kB / 0.5881 GB, free: 15.82 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 (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.0004928/0.3857, allocations: 0.7324 MB / 0.5888 GB, free: 15.12 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.869e-05/0.3858, allocations: 42.53 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3858, allocations: 1.062 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.882e-05/0.3858, allocations: 16.45 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.386, allocations: 2.828 kB / 0.5888 GB, free: 15.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007691/0.3868, allocations: 494 kB / 0.5893 GB, free: 14.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.3872, allocations: 0.6831 MB / 0.59 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.446e-05/0.3872, allocations: 4.75 kB / 0.59 GB, free: 13.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.272e-05/0.3873, allocations: 15.69 kB / 0.59 GB, free: 13.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3873, allocations: 0 / 0.59 GB, free: 13.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.3994, allocations: 1.364 MB / 0.5913 GB, free: 13.85 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001757/0.3996, allocations: 218.1 kB / 0.5915 GB, free: 13.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/1.969, allocations: 0 / 0.5915 GB, free: 13.61 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/linux/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) Environment - environmentSimulation: