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.0007804/0.0007804, allocations: 84.38 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.0007988/0.0007988, 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.297/1.297, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7348/0.7348, allocations: 132.3 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003083/0.0003083, allocations: 12.75 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3743/0.3746, allocations: 81.57 MB / 0.5831 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001058/0.3757, allocations: 1.004 MB / 0.5841 GB, free: 3.262 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000787/0.3765, allocations: 0.5708 MB / 0.5847 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.109e-05/0.3765, allocations: 3.938 kB / 0.5847 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.3766, allocations: 0.6562 kB / 0.5847 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.859e-05/0.3766, allocations: 1.75 kB / 0.5847 GB, free: 2.867 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.377, allocations: 133.7 kB / 0.5848 GB, free: 2.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.12e-05/0.3771, allocations: 27.56 kB / 0.5848 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.701e-05/0.3771, allocations: 2.094 kB / 0.5848 GB, free: 2.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.3772, allocations: 15.38 kB / 0.5849 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.22e-05/0.3772, allocations: 21.16 kB / 0.5849 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.094e-05/0.3773, allocations: 0.8125 kB / 0.5849 GB, free: 2.777 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.3777, allocations: 328.7 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.114e-05/0.3778, allocations: 2.953 kB / 0.5852 GB, free: 2.691 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.925e-05/0.3778, allocations: 32.95 kB / 0.5852 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.378, allocations: 104.7 kB / 0.5853 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.378, allocations: 0 / 0.5853 GB, free: 2.629 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.378, allocations: 1.406 kB / 0.5853 GB, free: 2.629 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.378, allocations: 0 / 0.5853 GB, free: 2.629 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.0002773/0.3783, allocations: 365.5 kB / 0.5857 GB, free: 2.246 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3783, allocations: 9.25 kB / 0.5857 GB, free: 2.246 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.75e-05/0.3784, allocations: 33.58 kB / 0.5857 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.424e-05/0.3784, allocations: 10.75 kB / 0.5857 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.678e-05/0.3785, allocations: 165.2 kB / 0.5859 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.3785, allocations: 5.891 kB / 0.5859 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.3785, allocations: 2.75 kB / 0.5859 GB, free: 1.996 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.3786, allocations: 54.06 kB / 0.5859 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3786, allocations: 0.6562 kB / 0.586 GB, free: 1.953 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.3787, allocations: 5.344 kB / 0.586 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3787, allocations: 0.7188 kB / 0.586 GB, free: 1.949 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.3787, allocations: 19.17 kB / 0.586 GB, free: 1.945 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.3789, allocations: 170.4 kB / 0.5861 GB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.379, allocations: 60.23 kB / 0.5862 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.379, allocations: 28.19 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.379, allocations: 0.9688 kB / 0.5862 GB, free: 1.688 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.508e-05/0.3791, allocations: 37.42 kB / 0.5863 GB, free: 1.645 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.011e-06/0.3791, allocations: 0 / 0.5863 GB, free: 1.645 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009771/0.38, allocations: 0.5862 MB / 0.5868 GB, free: 1.125 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.3801, allocations: 57.7 kB / 0.5869 GB, free: 1.059 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.348e-05/0.3801, allocations: 98.34 kB / 0.587 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3801, allocations: 30.39 kB / 0.587 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.286e-05/0.3802, allocations: 81.02 kB / 0.5871 GB, free: 0.8398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.169e-05/0.3802, allocations: 39.72 kB / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.3802, allocations: 0.6562 kB / 0.5871 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.3803, allocations: 322.6 kB / 0.5874 GB, free: 500 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.3803, allocations: 18.09 kB / 0.5874 GB, free: 496 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.959e-05/0.3803, allocations: 32.45 kB / 0.5875 GB, free: 480 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.679e-05/0.3804, allocations: 20.84 kB / 0.5875 GB, free: 472 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.3804, allocations: 0 / 0.5875 GB, free: 472 kB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001337/0.3805, allocations: 96.12 kB / 0.5876 GB, free: 416 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3806, allocations: 6.562 kB / 0.5876 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.3806, allocations: 6.094 kB / 0.5876 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3806, allocations: 0 / 0.5876 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.3807, allocations: 24.62 kB / 0.5876 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3807, allocations: 1.312 kB / 0.5876 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.264e-05/0.3808, allocations: 0.8438 kB / 0.5876 GB, free: 408 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.3808, allocations: 7.812 kB / 0.5876 GB, free: 404 kB / 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 5.171e-05/0.3808, allocations: 118.4 kB / 0.5877 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.374e-05/0.3808, allocations: 11.27 kB / 0.5878 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.381, allocations: 108.6 kB / 0.5879 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.381, allocations: 0.9688 kB / 0.5879 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.381, allocations: 0.6875 kB / 0.5879 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.3811, allocations: 1.219 kB / 0.5879 GB, free: 204 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003609/0.3814, allocations: 355.8 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3814, allocations: 0.5625 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.3816, allocations: 28.53 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3816, allocations: 1.094 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.3816, allocations: 1.75 kB / 0.5882 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3816, allocations: 4.875 kB / 0.5882 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.3816, allocations: 0 / 0.5882 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.3818, allocations: 215.5 kB / 0.5884 GB, free: 15.69 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.619e-05/0.3819, allocations: 86.64 kB / 0.5885 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.572e-05/0.3819, allocations: 1.5 kB / 0.5885 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.382, allocations: 7.5 kB / 0.5885 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.382, allocations: 5 kB / 0.5885 GB, free: 15.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.382, allocations: 4.375 kB / 0.5885 GB, free: 15.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.25e-05/0.3821, allocations: 76.72 kB / 0.5886 GB, free: 15.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3821, allocations: 0.9375 kB / 0.5886 GB, free: 15.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.3824, allocations: 45.19 kB / 0.5887 GB, free: 15.49 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.0005675/0.3829, allocations: 0.7912 MB / 0.5894 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.3831, allocations: 60.09 kB / 0.5895 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3831, allocations: 1.375 kB / 0.5895 GB, free: 14.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.328e-05/0.3832, allocations: 35.22 kB / 0.5895 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.3834, allocations: 7.75 kB / 0.5895 GB, free: 14.74 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009596/0.3844, allocations: 0.6517 MB / 0.5902 GB, free: 14.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3846, allocations: 0.6854 MB / 0.5908 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.83e-05/0.3847, allocations: 11.69 kB / 0.5909 GB, free: 13.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/0.3847, allocations: 18.03 kB / 0.5909 GB, free: 13.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3847, allocations: 0 / 0.5909 GB, free: 13.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01137/0.3961, allocations: 1.814 MB / 0.5926 GB, free: 13.37 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.3964, allocations: 210.4 kB / 0.5928 GB, free: 13.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.972, allocations: 1.406 kB / 0.5928 GB, free: 13.13 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: