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.001037/0.001037, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009913/0.0009913, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7016/0.7016, allocations: 132.2 MB / 422.1 MB, free: 2.008 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 63.81 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3266, allocations: 80.2 MB / 0.5795 GB, free: 4.547 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002291/0.3289, allocations: 1.329 MB / 0.5808 GB, free: 3.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008968/0.3298, allocations: 0.6269 MB / 0.5814 GB, free: 3.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.743e-05/0.3298, allocations: 4 kB / 0.5814 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.783e-05/0.3299, allocations: 4.594 kB / 0.5814 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.331e-05/0.3299, allocations: 0.6875 kB / 0.5814 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004986/0.3304, allocations: 125.8 kB / 0.5815 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.241e-05/0.3305, allocations: 16.56 kB / 0.5816 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.3305, allocations: 1.547 kB / 0.5816 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.3306, allocations: 9.125 kB / 0.5816 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.3e-05/0.3306, allocations: 9.688 kB / 0.5816 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.3306, allocations: 5.219 kB / 0.5816 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005345/0.3312, allocations: 344.3 kB / 0.5819 GB, free: 3 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.3312, allocations: 1.562 kB / 0.5819 GB, free: 3 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.3312, allocations: 12.73 kB / 0.5819 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002774/0.3315, allocations: 152.4 kB / 0.5821 GB, free: 2.941 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.3315, allocations: 0 / 0.5821 GB, free: 2.941 MB / 430.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.3315, allocations: 0 / 0.5821 GB, free: 2.941 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.3315, allocations: 0.9375 kB / 0.5821 GB, free: 2.941 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.0003206/0.3319, allocations: 362.3 kB / 0.5824 GB, free: 2.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3319, allocations: 12.59 kB / 0.5824 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.37e-05/0.3319, allocations: 36.62 kB / 0.5825 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.725e-05/0.332, allocations: 3.25 kB / 0.5825 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.499e-05/0.332, allocations: 171.2 kB / 0.5826 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.577e-06/0.3321, allocations: 5.531 kB / 0.5826 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.768e-05/0.3321, allocations: 1.531 kB / 0.5826 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.316e-05/0.3322, allocations: 43.88 kB / 0.5827 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.3322, allocations: 1.375 kB / 0.5827 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3322, allocations: 0 / 0.5827 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.3322, allocations: 3.984 kB / 0.5827 GB, free: 2.266 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.795e-05/0.3323, allocations: 16.58 kB / 0.5827 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.3324, allocations: 162.4 kB / 0.5829 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.3326, allocations: 49.23 kB / 0.5829 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.188e-05/0.3326, allocations: 16.75 kB / 0.5829 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3326, allocations: 5.109 kB / 0.5829 GB, free: 2.008 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.474e-05/0.3326, allocations: 36.41 kB / 0.583 GB, free: 1.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3326, allocations: 0 / 0.583 GB, free: 1.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005262/0.3332, allocations: 301.4 kB / 0.5832 GB, free: 1.688 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.712e-05/0.3332, allocations: 52.69 kB / 0.5833 GB, free: 1.625 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.138e-05/0.3332, allocations: 99.27 kB / 0.5834 GB, free: 1.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.676e-06/0.3333, allocations: 27.66 kB / 0.5834 GB, free: 1.492 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.3333, allocations: 80.14 kB / 0.5835 GB, free: 1.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.3333, allocations: 24.02 kB / 0.5835 GB, free: 1.391 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.3333, allocations: 24.48 kB / 0.5835 GB, free: 1.367 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.451e-05/0.3334, allocations: 313.2 kB / 0.5838 GB, free: 1.055 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.3334, allocations: 15.67 kB / 0.5839 GB, free: 1.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.3334, allocations: 16.75 kB / 0.5839 GB, free: 1.039 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.3335, allocations: 28.86 kB / 0.5839 GB, free: 1.023 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3335, allocations: 0 / 0.5839 GB, free: 1.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.231e-05/0.3336, allocations: 68.55 kB / 0.584 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.3336, allocations: 6.844 kB / 0.584 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3336, allocations: 1.125 kB / 0.584 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.3337, allocations: 4 kB / 0.584 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.303e-05/0.3337, allocations: 15.81 kB / 0.584 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.3337, allocations: 0 / 0.584 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.3337, allocations: 1.547 kB / 0.584 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.3338, allocations: 1.969 kB / 0.584 GB, free: 0.9688 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 5.439e-05/0.3338, allocations: 118 kB / 0.5841 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.3338, allocations: 2.453 kB / 0.5841 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.334, allocations: 77.03 kB / 0.5842 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.334, allocations: 5.188 kB / 0.5842 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.334, allocations: 0 / 0.5842 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.334, allocations: 1.438 kB / 0.5842 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.3342, allocations: 317.1 kB / 0.5845 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3342, allocations: 1.312 kB / 0.5845 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.3343, allocations: 10.53 kB / 0.5845 GB, free: 472 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.3343, allocations: 5.688 kB / 0.5845 GB, free: 468 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.3343, allocations: 5.031 kB / 0.5845 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.3343, allocations: 6.141 kB / 0.5845 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3343, allocations: 4.031 kB / 0.5845 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.3345, allocations: 177.6 kB / 0.5847 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.3345, allocations: 80.17 kB / 0.5848 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3345, allocations: 2.641 kB / 0.5848 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.287e-05/0.3346, allocations: 1.672 kB / 0.5848 GB, free: 200 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.997e-05/0.3347, allocations: 11.78 kB / 0.5848 GB, free: 192 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.3347, allocations: 10.61 kB / 0.5848 GB, free: 184 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.898e-05/0.3347, allocations: 82.11 kB / 0.5849 GB, free: 104 kB / 430.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3347, allocations: 0.8438 kB / 0.5849 GB, free: 104 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.335, allocations: 19.58 kB / 0.5849 GB, free: 100 kB / 430.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.0004671/0.3354, allocations: 0.7446 MB / 0.5856 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001009/0.3355, allocations: 35.69 kB / 0.5856 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3356, allocations: 0 / 0.5856 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.173e-05/0.3356, allocations: 17.42 kB / 0.5857 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3358, allocations: 11.42 kB / 0.5857 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.3369, allocations: 1.328 MB / 0.587 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002104/0.3372, allocations: 0.6799 MB / 0.5876 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.206e-05/0.3372, allocations: 4.547 kB / 0.5876 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3372, allocations: 18.8 kB / 0.5877 GB, free: 13.37 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3372, allocations: 0.8438 kB / 0.5877 GB, free: 13.37 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1378/0.4751, allocations: 1.434 MB / 0.5891 GB, free: 13.16 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001874/0.4753, allocations: 228 kB / 0.5893 GB, free: 12.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.188, allocations: 3.094 kB / 0.5893 GB, free: 12.91 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)