Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009347/0.0009347, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001032/0.001032, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.392/0.392, allocations: 54.99 MB / 325.4 MB, free: 0.7383 MB / 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.0005836/0.0005837, allocations: 12 kB / 396.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3087, allocations: 60.72 MB / 457.3 MB, free: 38.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001108/0.3098, allocations: 0.9857 MB / 458.3 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000425/0.3103, allocations: 251.9 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.3103, allocations: 1.031 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3103, allocations: 7 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.185e-05/0.3104, allocations: 2.812 kB / 458.5 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.3106, allocations: 52.58 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.943e-05/0.3107, allocations: 16.78 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.3107, allocations: 6.828 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.131e-05/0.3108, allocations: 13.14 kB / 458.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.175e-05/0.3108, allocations: 18.33 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.3109, allocations: 3.312 kB / 458.7 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.3111, allocations: 142.8 kB / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.059e-05/0.3111, allocations: 8.141 kB / 458.8 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.869e-05/0.3111, allocations: 28.7 kB / 458.8 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.3112, allocations: 54.16 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.3112, allocations: 3.938 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3112, allocations: 1.75 kB / 458.9 MB, free: 38.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.567e-06/0.3112, allocations: 0 / 458.9 MB, free: 38.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003272/0.3116, allocations: 341.9 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3116, allocations: 8.812 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.387e-05/0.3116, allocations: 5.375 kB / 459.2 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.276e-05/0.3117, allocations: 169.2 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3117, allocations: 0 / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.3118, allocations: 10.62 kB / 459.4 MB, free: 37.64 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3121, allocations: 89.7 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3122, allocations: 0.9062 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.3122, allocations: 8.688 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.3122, allocations: 4.406 kB / 459.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.3124, allocations: 61.8 kB / 459.6 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001212/0.3126, allocations: 167.2 kB / 459.7 MB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.3129, allocations: 97.61 kB / 459.8 MB, free: 37.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002463/0.3131, allocations: 115.3 kB / 459.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.3132, allocations: 39.94 kB / 460 MB, free: 37.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.3132, allocations: 0 / 460 MB, free: 37.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.005034/0.3182, allocations: 1.343 MB / 461.3 MB, free: 36.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.3183, allocations: 55.36 kB / 461.4 MB, free: 36.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.151e-05/0.3183, allocations: 96.61 kB / 461.5 MB, free: 36.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3183, allocations: 29.58 kB / 461.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.662e-05/0.3183, allocations: 90.42 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.3184, allocations: 36.98 kB / 461.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.3184, allocations: 3.812 kB / 461.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.646e-05/0.3185, allocations: 313.8 kB / 461.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.3187, allocations: 69.92 kB / 462 MB, free: 36.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.3188, allocations: 74 kB / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.319, allocations: 64.11 kB / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.319, allocations: 0 / 462.1 MB, free: 36.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004414/0.3195, allocations: 198.1 kB / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.3195, allocations: 6 kB / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3195, allocations: 0 / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.3195, allocations: 0 / 462.3 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/0.3198, allocations: 46.36 kB / 462.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3198, allocations: 3.953 kB / 462.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.32, allocations: 25.94 kB / 462.4 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.32, allocations: 6.938 kB / 462.4 MB, free: 36.1 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/0.3201, allocations: 119.1 kB / 462.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.739e-05/0.3201, allocations: 6.688 kB / 462.5 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.377e-05/0.3201, allocations: 11.48 kB / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3202, allocations: 3 kB / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.3202, allocations: 0 / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3202, allocations: 3.953 kB / 462.6 MB, free: 35.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.3209, allocations: 456.2 kB / 463 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3209, allocations: 1.125 kB / 463 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/0.3211, allocations: 42.02 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3211, allocations: 4.156 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3212, allocations: 1.5 kB / 463.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.3212, allocations: 8.828 kB / 463.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3212, allocations: 2.875 kB / 463.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006686/0.3218, allocations: 367.2 kB / 463.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3219, allocations: 77.11 kB / 463.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.3219, allocations: 3.031 kB / 463.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.3221, allocations: 23.98 kB / 463.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.21e-05/0.3221, allocations: 9.734 kB / 463.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3222, allocations: 7.75 kB / 463.5 MB, free: 35.42 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.879e-05/0.3222, allocations: 82.97 kB / 463.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3222, allocations: 0 / 463.6 MB, free: 35.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.3224, allocations: 20.47 kB / 463.6 MB, free: 35.34 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001132/0.3226, allocations: 96.66 kB / 463.7 MB, free: 35.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.323, allocations: 164.1 kB / 463.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.323, allocations: 0 / 463.9 MB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3232, allocations: 86.14 kB / 464 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001487/0.3234, allocations: 3.391 kB / 464 MB, free: 35.23 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.3245, allocations: 0.5032 MB / 464.5 MB, free: 35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.3246, allocations: 0.6895 MB / 465.2 MB, free: 34.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.3247, allocations: 15.33 kB / 465.2 MB, free: 34.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.3248, allocations: 22.12 kB / 465.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3248, allocations: 0 / 465.2 MB, free: 34.28 MB / 382.1 MB Notification: Performance of Templates: time 0.002753/0.3276, allocations: 0.8336 MB / 466.1 MB, free: 34.25 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: