Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 108.6 kB / 15.73 MB, free: 72 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.001415/0.001416, allocations: 182.9 kB / 16.66 MB, free: 6.602 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00204/0.002041, allocations: 63.89 kB / 0.5856 GB, free: 3.363 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4213, allocations: 80.91 MB / 0.6646 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00184/0.4232, allocations: 1.275 MB / 0.6659 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008383/0.424, allocations: 0.6237 MB / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.203e-05/0.424, allocations: 0 / 0.6665 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.632e-05/0.4241, allocations: 3.938 kB / 0.6665 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.635e-05/0.4241, allocations: 9.328 kB / 0.6665 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004849/0.4246, allocations: 144.8 kB / 0.6666 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.4247, allocations: 29.16 kB / 0.6667 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.518e-05/0.4247, allocations: 6.734 kB / 0.6667 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.413e-05/0.4248, allocations: 13.81 kB / 0.6667 GB, free: 6 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.4248, allocations: 17.2 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.4248, allocations: 1.5 kB / 0.6667 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000455/0.4253, allocations: 345.2 kB / 0.667 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.283e-05/0.4253, allocations: 6.375 kB / 0.667 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.4253, allocations: 13.12 kB / 0.6671 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.4256, allocations: 155.3 kB / 0.6672 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4256, allocations: 1.438 kB / 0.6672 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4256, allocations: 0 / 0.6672 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.45e-06/0.4256, allocations: 0 / 0.6672 GB, free: 5.691 MB / 0.4981 GB 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.0003302/0.426, allocations: 374.3 kB / 0.6676 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.426, allocations: 9.719 kB / 0.6676 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.741e-05/0.4261, allocations: 2.469 kB / 0.6676 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.186e-05/0.4261, allocations: 173.8 kB / 0.6677 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.4261, allocations: 2.844 kB / 0.6677 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.4262, allocations: 2.625 kB / 0.6677 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.4263, allocations: 57.28 kB / 0.6678 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4263, allocations: 0 / 0.6678 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4263, allocations: 1.594 kB / 0.6678 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.4263, allocations: 0 / 0.6678 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.121e-05/0.4264, allocations: 27.23 kB / 0.6678 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.4265, allocations: 169.1 kB / 0.668 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.75e-05/0.4266, allocations: 61.02 kB / 0.668 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.4267, allocations: 25.64 kB / 0.6681 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4267, allocations: 3.938 kB / 0.6681 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.4267, allocations: 36.86 kB / 0.6681 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.4267, allocations: 4 kB / 0.6681 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0009721/0.4277, allocations: 0.583 MB / 0.6687 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.4277, allocations: 56.83 kB / 0.6687 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.305e-05/0.4278, allocations: 96.73 kB / 0.6688 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.4278, allocations: 31.02 kB / 0.6689 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.629e-05/0.4278, allocations: 81.48 kB / 0.6689 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.4279, allocations: 39.11 kB / 0.669 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.4279, allocations: 26.88 kB / 0.669 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.428, allocations: 320.3 kB / 0.6693 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.428, allocations: 19.83 kB / 0.6693 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.82e-05/0.4281, allocations: 21 kB / 0.6693 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.882e-05/0.4281, allocations: 59.59 kB / 0.6694 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4282, allocations: 4.125 kB / 0.6694 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00013/0.4283, allocations: 99.88 kB / 0.6695 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.4283, allocations: 5.688 kB / 0.6695 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4283, allocations: 0 / 0.6695 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4283, allocations: 0 / 0.6695 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4284, allocations: 22.05 kB / 0.6695 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4285, allocations: 1.312 kB / 0.6695 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.461e-05/0.4285, allocations: 5.062 kB / 0.6695 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.4285, allocations: 2.406 kB / 0.6695 GB, free: 3.379 MB / 0.4981 GB 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.565e-05/0.4286, allocations: 124.7 kB / 0.6697 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.55e-05/0.4286, allocations: 10.62 kB / 0.6697 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.4288, allocations: 115.1 kB / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4288, allocations: 1.281 kB / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4288, allocations: 1.656 kB / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4288, allocations: 0 / 0.6698 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.4291, allocations: 351.6 kB / 0.6701 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4291, allocations: 5.125 kB / 0.6701 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.4292, allocations: 21.45 kB / 0.6701 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4292, allocations: 4 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.4292, allocations: 1.719 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4292, allocations: 1.156 kB / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4292, allocations: 0 / 0.6701 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.4295, allocations: 217.9 kB / 0.6704 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.4295, allocations: 86.17 kB / 0.6704 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.583e-05/0.4295, allocations: 9.906 kB / 0.6704 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.453e-05/0.4296, allocations: 1.062 kB / 0.6704 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.4296, allocations: 7.719 kB / 0.6705 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.4296, allocations: 15.14 kB / 0.6705 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.831e-05/0.4297, allocations: 77.56 kB / 0.6705 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.12e-07/0.4297, allocations: 0 / 0.6705 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002605/0.4299, allocations: 39.59 kB / 0.6706 GB, free: 2.406 MB / 0.4981 GB 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.0001768/0.4301, allocations: 136.3 kB / 0.6707 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001425/0.4303, allocations: 59.14 kB / 0.6708 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4303, allocations: 5.031 kB / 0.6708 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.879e-05/0.4303, allocations: 37.73 kB / 0.6708 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.4305, allocations: 10.66 kB / 0.6708 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.431, allocations: 292.4 kB / 0.6711 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.942e-05/0.4311, allocations: 0.6834 MB / 0.6718 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.301e-05/0.4312, allocations: 14.23 kB / 0.6718 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.327e-05/0.4312, allocations: 12.81 kB / 0.6718 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.4312, allocations: 0 / 0.6718 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of Templates: time 0.002922/0.4341, allocations: 0.9493 MB / 0.6727 GB, free: 0.8047 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)