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.006993/0.006993, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001152/0.001151, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9148/0.9148, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 64.09 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4047, allocations: 80.92 MB / 0.6646 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00182/0.4066, allocations: 1.272 MB / 0.6659 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008714/0.4075, allocations: 0.6149 MB / 0.6665 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.4075, allocations: 1.469 kB / 0.6665 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.4075, allocations: 3.938 kB / 0.6665 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.4076, allocations: 7.922 kB / 0.6665 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004982/0.4081, allocations: 152.2 kB / 0.6666 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.437e-05/0.4081, allocations: 30.03 kB / 0.6667 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.521e-05/0.4082, allocations: 1.406 kB / 0.6667 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.159e-05/0.4082, allocations: 11.12 kB / 0.6667 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.141e-05/0.4083, allocations: 20.36 kB / 0.6667 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.4083, allocations: 1.281 kB / 0.6667 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.4087, allocations: 346.1 kB / 0.667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.179e-05/0.4087, allocations: 1.5 kB / 0.667 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.4088, allocations: 21.17 kB / 0.6671 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002361/0.409, allocations: 156.3 kB / 0.6672 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.409, allocations: 1.156 kB / 0.6672 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.203e-06/0.409, allocations: 0 / 0.6672 GB, free: 5.852 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.409, allocations: 0 / 0.6672 GB, free: 5.852 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.0003001/0.4093, allocations: 375.1 kB / 0.6676 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4094, allocations: 10 kB / 0.6676 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.4094, allocations: 2.281 kB / 0.6676 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.413e-05/0.4095, allocations: 165.6 kB / 0.6677 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.4095, allocations: 2.344 kB / 0.6677 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.4095, allocations: 7.281 kB / 0.6677 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.4096, allocations: 52.47 kB / 0.6678 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4097, allocations: 1.406 kB / 0.6678 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.4097, allocations: 7.984 kB / 0.6678 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4097, allocations: 1.156 kB / 0.6678 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.448e-05/0.4098, allocations: 22.66 kB / 0.6678 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001448/0.4099, allocations: 170.6 kB / 0.668 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.41, allocations: 54.66 kB / 0.668 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.905e-05/0.4101, allocations: 26.34 kB / 0.6681 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.4101, allocations: 9.156 kB / 0.6681 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.4101, allocations: 31.94 kB / 0.6681 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.4101, allocations: 4 kB / 0.6681 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0009363/0.411, allocations: 0.5986 MB / 0.6687 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.4111, allocations: 52.72 kB / 0.6687 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.659e-05/0.4111, allocations: 96.89 kB / 0.6688 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.4111, allocations: 31.14 kB / 0.6689 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.249e-05/0.4112, allocations: 81.27 kB / 0.6689 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.4112, allocations: 39.02 kB / 0.669 GB, free: 4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.4112, allocations: 30.98 kB / 0.669 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 3.796e-05/0.4113, allocations: 315.9 kB / 0.6693 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.769e-05/0.4113, allocations: 19.89 kB / 0.6693 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.4114, allocations: 21.67 kB / 0.6694 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.18e-05/0.4114, allocations: 57.92 kB / 0.6694 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4115, allocations: 4 kB / 0.6694 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001221/0.4116, allocations: 98.81 kB / 0.6695 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4116, allocations: 9.641 kB / 0.6695 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.4116, allocations: 3.938 kB / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.4116, allocations: 0 / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.4117, allocations: 18.84 kB / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.4117, allocations: 0 / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.4118, allocations: 1.5 kB / 0.6695 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.4118, allocations: 6.625 kB / 0.6695 GB, free: 3.531 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 4.672e-05/0.4118, allocations: 130 kB / 0.6697 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.47e-05/0.4118, allocations: 7.188 kB / 0.6697 GB, free: 3.395 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.412, allocations: 99.27 kB / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.412, allocations: 1.469 kB / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.412, allocations: 0 / 0.6698 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.412, allocations: 3.984 kB / 0.6698 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.4123, allocations: 352.6 kB / 0.6701 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4123, allocations: 3.938 kB / 0.6701 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.4124, allocations: 22.08 kB / 0.6701 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4124, allocations: 5.25 kB / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.4125, allocations: 1.125 kB / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.4125, allocations: 0 / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4125, allocations: 1.531 kB / 0.6701 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.4127, allocations: 220.2 kB / 0.6704 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.745e-05/0.4127, allocations: 79.7 kB / 0.6704 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.4127, allocations: 1.062 kB / 0.6704 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.4128, allocations: 9.125 kB / 0.6704 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.4128, allocations: 12.33 kB / 0.6705 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4129, allocations: 6.281 kB / 0.6705 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.715e-05/0.4129, allocations: 77.56 kB / 0.6705 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.61e-07/0.4129, allocations: 0 / 0.6705 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002635/0.4132, allocations: 45.05 kB / 0.6706 GB, free: 2.574 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.0001632/0.4133, allocations: 128.5 kB / 0.6707 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001377/0.4135, allocations: 65.25 kB / 0.6708 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4135, allocations: 5.594 kB / 0.6708 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.4135, allocations: 28.81 kB / 0.6708 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.4137, allocations: 16.33 kB / 0.6708 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004188/0.4142, allocations: 290.2 kB / 0.6711 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.771e-05/0.4143, allocations: 0.6882 MB / 0.6718 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.79e-05/0.4143, allocations: 5.812 kB / 0.6718 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.4143, allocations: 12.59 kB / 0.6718 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4143, allocations: 0 / 0.6718 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of Templates: time 0.002833/0.4172, allocations: 0.954 MB / 0.6727 GB, free: 0.9805 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)