Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001756/0.001756, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00134/0.001341, allocations: 192.3 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4258/0.4258, allocations: 54.93 MB / 324.3 MB, free: 172 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 63.89 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1568/0.1584, allocations: 59.6 MB / 454.2 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.2382/0.3967, allocations: 1.314 MB / 455.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009362/0.3977, allocations: 0.5516 MB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.3977, allocations: 0 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.3978, allocations: 0 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.361e-05/0.3979, allocations: 2.812 kB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.3984, allocations: 106.7 kB / 456.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.202e-05/0.3985, allocations: 19.47 kB / 456.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.3985, allocations: 3.594 kB / 456.2 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.834e-05/0.3986, allocations: 17.98 kB / 456.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.876e-05/0.3986, allocations: 6.609 kB / 456.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.3987, allocations: 2.812 kB / 456.3 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.3992, allocations: 346.2 kB / 456.6 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.3992, allocations: 5.656 kB / 456.6 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.3992, allocations: 10.53 kB / 456.6 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.3995, allocations: 133.6 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3995, allocations: 4.938 kB / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3995, allocations: 0 / 456.8 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3995, allocations: 0 / 456.8 MB, free: 38.68 MB / 382.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.0003356/0.3999, allocations: 351.5 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.3999, allocations: 9.938 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.4, allocations: 7 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.97e-05/0.4, allocations: 164.3 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.4001, allocations: 5.031 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.4001, allocations: 3.094 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005986/0.4007, allocations: 113.1 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.4007, allocations: 1.375 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4007, allocations: 10.47 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4007, allocations: 0 / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000469/0.4012, allocations: 81.33 kB / 457.5 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.4014, allocations: 161.8 kB / 457.6 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.402, allocations: 115.6 kB / 457.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.402, allocations: 21.52 kB / 457.8 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003127/0.4023, allocations: 103.5 kB / 457.9 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.4024, allocations: 34.12 kB / 457.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.4024, allocations: 1.125 kB / 457.9 MB, free: 37.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004587/0.407, allocations: 0.977 MB / 458.9 MB, free: 37.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.504e-05/0.407, allocations: 51.41 kB / 458.9 MB, free: 37.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.322e-05/0.4071, allocations: 102.5 kB / 459 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4071, allocations: 28.23 kB / 459.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.771e-05/0.4071, allocations: 80.14 kB / 459.1 MB, free: 37.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.4072, allocations: 25.98 kB / 459.2 MB, free: 37.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.403e-05/0.4072, allocations: 23.17 kB / 459.2 MB, free: 37.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.4073, allocations: 310.8 kB / 459.5 MB, free: 36.85 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/0.4075, allocations: 68.03 kB / 459.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4078, allocations: 64.09 kB / 459.6 MB, free: 36.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.4082, allocations: 119.6 kB / 459.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4082, allocations: 4 kB / 459.7 MB, free: 36.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005152/0.4088, allocations: 170.9 kB / 459.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4088, allocations: 13.16 kB / 459.9 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.4088, allocations: 0 / 459.9 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.4088, allocations: 0.9375 kB / 459.9 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002142/0.409, allocations: 35.22 kB / 460 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4091, allocations: 0 / 460 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001613/0.4092, allocations: 24.72 kB / 460 MB, free: 36.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.4092, allocations: 2.531 kB / 460 MB, free: 36.79 MB / 382.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 6.71e-05/0.4093, allocations: 116.9 kB / 460.1 MB, free: 36.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.4093, allocations: 10.72 kB / 460.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.863e-05/0.4094, allocations: 7.25 kB / 460.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4094, allocations: 0 / 460.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.4094, allocations: 5.625 kB / 460.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4094, allocations: 0 / 460.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008853/0.4103, allocations: 447.8 kB / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4103, allocations: 0 / 460.6 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.4105, allocations: 45.97 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4106, allocations: 1.5 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.4106, allocations: 3.281 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.4106, allocations: 3.938 kB / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4106, allocations: 0 / 460.6 MB, free: 36.35 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007978/0.4114, allocations: 336.6 kB / 460.9 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.4114, allocations: 90.31 kB / 461 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4115, allocations: 2.688 kB / 461 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.4117, allocations: 24.02 kB / 461.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.4117, allocations: 6.25 kB / 461.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.4117, allocations: 3.797 kB / 461.1 MB, free: 36.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.561e-05/0.4118, allocations: 86.09 kB / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4118, allocations: 0 / 461.1 MB, free: 36.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002288/0.412, allocations: 11.41 kB / 461.2 MB, free: 36.03 MB / 382.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 9.607e-05/0.4121, allocations: 99.91 kB / 461.3 MB, free: 35.94 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005033/0.4126, allocations: 135.8 kB / 461.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4126, allocations: 2.625 kB / 461.4 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002328/0.4129, allocations: 73.23 kB / 461.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.4131, allocations: 6.781 kB / 461.5 MB, free: 35.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.4142, allocations: 338.9 kB / 461.8 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.4143, allocations: 0.6849 MB / 462.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.846e-05/0.4144, allocations: 10.08 kB / 462.5 MB, free: 35.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.925e-05/0.4144, allocations: 10.38 kB / 462.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.4144, allocations: 4 kB / 462.5 MB, free: 35.06 MB / 382.1 MB Notification: Performance of Templates: time 0.002808/0.4172, allocations: 0.7879 MB / 463.3 MB, free: 35.03 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)