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.001041/0.001041, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 192 kB / 16.53 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7394/0.7394, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 64.73 kB / 0.5019 GB, free: 3.742 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 80.19 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002072/0.3618, allocations: 1.278 MB / 0.5814 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008698/0.3627, allocations: 0.6242 MB / 0.5821 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.528e-05/0.3627, allocations: 3.938 kB / 0.5821 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.3627, allocations: 3.938 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.5e-05/0.3628, allocations: 2.453 kB / 0.5821 GB, free: 3.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005158/0.3633, allocations: 153.7 kB / 0.5822 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.3634, allocations: 32.77 kB / 0.5822 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.9e-05/0.3634, allocations: 3.047 kB / 0.5822 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.325e-05/0.3634, allocations: 11.56 kB / 0.5823 GB, free: 3.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.941e-05/0.3635, allocations: 15.8 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.3635, allocations: 2.5 kB / 0.5823 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.3641, allocations: 346.5 kB / 0.5826 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.338e-05/0.3641, allocations: 7.141 kB / 0.5826 GB, free: 3.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.641e-05/0.3641, allocations: 14.45 kB / 0.5826 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000265/0.3644, allocations: 151.4 kB / 0.5828 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3644, allocations: 0.75 kB / 0.5828 GB, free: 2.957 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3644, allocations: 4.875 kB / 0.5828 GB, free: 2.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.3644, allocations: 0 / 0.5828 GB, free: 2.953 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.0003227/0.3648, allocations: 370.7 kB / 0.5831 GB, free: 2.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.3648, allocations: 8.625 kB / 0.5831 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.857e-05/0.3648, allocations: 36.98 kB / 0.5832 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.3649, allocations: 5.219 kB / 0.5832 GB, free: 2.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.642e-05/0.3649, allocations: 166 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.365, allocations: 2.219 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.365, allocations: 3.75 kB / 0.5833 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.3651, allocations: 56.94 kB / 0.5834 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3651, allocations: 5.625 kB / 0.5834 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.3651, allocations: 1.219 kB / 0.5834 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3651, allocations: 0 / 0.5834 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.17e-05/0.3652, allocations: 23.03 kB / 0.5834 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3653, allocations: 163.4 kB / 0.5836 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.709e-05/0.3654, allocations: 56.44 kB / 0.5836 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.137e-05/0.3655, allocations: 32.84 kB / 0.5837 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.3655, allocations: 4.688 kB / 0.5837 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.3655, allocations: 32.83 kB / 0.5837 GB, free: 1.977 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.3655, allocations: 3.984 kB / 0.5837 GB, free: 1.973 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.001003/0.3665, allocations: 0.5909 MB / 0.5843 GB, free: 1.449 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3666, allocations: 57.44 kB / 0.5843 GB, free: 1.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.638e-05/0.3666, allocations: 97.75 kB / 0.5844 GB, free: 1.281 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3666, allocations: 26.48 kB / 0.5845 GB, free: 1.25 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.562e-05/0.3667, allocations: 81.44 kB / 0.5845 GB, free: 1.168 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.3667, allocations: 43.73 kB / 0.5846 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.902e-05/0.3667, allocations: 23.78 kB / 0.5846 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.63e-05/0.3668, allocations: 322.7 kB / 0.5849 GB, free: 0.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.3668, allocations: 18.7 kB / 0.5849 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.3669, allocations: 23.86 kB / 0.5849 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.367, allocations: 62.48 kB / 0.585 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.367, allocations: 4.812 kB / 0.585 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001398/0.3671, allocations: 95.17 kB / 0.5851 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.3672, allocations: 10.11 kB / 0.5851 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3672, allocations: 0 / 0.5851 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.3672, allocations: 0.8438 kB / 0.5851 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.3673, allocations: 24.66 kB / 0.5851 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3673, allocations: 1.875 kB / 0.5851 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.587e-05/0.3674, allocations: 4 kB / 0.5851 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.3674, allocations: 4.047 kB / 0.5851 GB, free: 0.6797 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.974e-05/0.3674, allocations: 118.8 kB / 0.5853 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.636e-05/0.3675, allocations: 2.547 kB / 0.5853 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.3677, allocations: 109.7 kB / 0.5854 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.3677, allocations: 1.375 kB / 0.5854 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3677, allocations: 4 kB / 0.5854 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3677, allocations: 1.672 kB / 0.5854 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.3681, allocations: 355.5 kB / 0.5857 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3681, allocations: 0.75 kB / 0.5857 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.3682, allocations: 19.55 kB / 0.5857 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3682, allocations: 5.578 kB / 0.5857 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3682, allocations: 2.125 kB / 0.5857 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.3682, allocations: 0.7031 kB / 0.5857 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3682, allocations: 0 / 0.5857 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.3685, allocations: 219.2 kB / 0.5859 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.882e-05/0.3686, allocations: 83.75 kB / 0.586 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3686, allocations: 10.64 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.3687, allocations: 1.516 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.3687, allocations: 6.188 kB / 0.586 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.3687, allocations: 11.5 kB / 0.5861 GB, free: 15.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.259e-05/0.3688, allocations: 77.42 kB / 0.5861 GB, free: 15.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3688, allocations: 4.094 kB / 0.5861 GB, free: 15.79 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002861/0.3691, allocations: 42.72 kB / 0.5862 GB, free: 15.78 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 (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.0006011/0.3697, allocations: 0.7738 MB / 0.5869 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001718/0.3698, allocations: 70.06 kB / 0.587 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3699, allocations: 1.062 kB / 0.587 GB, free: 15.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.63e-05/0.3699, allocations: 40.73 kB / 0.587 GB, free: 15.04 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002272/0.3702, allocations: 6.281 kB / 0.587 GB, free: 15.03 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.3716, allocations: 1.5 MB / 0.5885 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.3719, allocations: 0.6857 MB / 0.5892 GB, free: 12.99 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.007e-05/0.3719, allocations: 16.19 kB / 0.5892 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.448e-05/0.372, allocations: 18.56 kB / 0.5892 GB, free: 12.97 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.372, allocations: 0 / 0.5892 GB, free: 12.97 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6808/1.053, allocations: 2.007 MB / 0.5912 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.9, allocations: 14.3 kB / 0.5912 GB, free: 12.61 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/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)