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.001534/0.001534, 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.002259/0.002259, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.584/1.584, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3955/0.3955, allocations: 54.93 MB / 324.3 MB, free: 124 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.001516/0.001516, allocations: 67.91 kB / 394.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1231, allocations: 59.59 MB / 454.3 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.2155/0.3387, allocations: 1.335 MB / 455.6 MB, free: 39.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.3396, allocations: 0.5534 MB / 456.2 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.792e-05/0.3396, allocations: 0 / 456.2 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.3396, allocations: 2.5 kB / 456.2 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.3397, allocations: 5.531 kB / 456.2 MB, free: 39.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.34, allocations: 103.8 kB / 456.3 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.347e-05/0.3401, allocations: 33.83 kB / 456.3 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.434e-05/0.3402, allocations: 3.656 kB / 456.3 MB, free: 39.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.487e-05/0.3402, allocations: 19.28 kB / 456.4 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.3403, allocations: 9.859 kB / 456.4 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.3403, allocations: 2.688 kB / 456.4 MB, free: 39.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004029/0.3407, allocations: 346.9 kB / 456.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.3407, allocations: 14.23 kB / 456.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.714e-05/0.3407, allocations: 12.16 kB / 456.7 MB, free: 39.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.341, allocations: 142.5 kB / 456.9 MB, free: 39.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.341, allocations: 0 / 456.9 MB, free: 39.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.341, allocations: 3.219 kB / 456.9 MB, free: 39.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.341, allocations: 0 / 456.9 MB, free: 39.52 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.0003156/0.3413, allocations: 371.3 kB / 457.2 MB, free: 39.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.3413, allocations: 9 kB / 457.3 MB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.3414, allocations: 7.188 kB / 457.3 MB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.531e-05/0.3415, allocations: 161.1 kB / 457.4 MB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.3415, allocations: 8.219 kB / 457.4 MB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.3415, allocations: 7.312 kB / 457.4 MB, free: 38.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003349/0.3418, allocations: 79.62 kB / 457.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3419, allocations: 192 / 457.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.3419, allocations: 3.938 kB / 457.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3419, allocations: 0.5625 kB / 457.5 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002451/0.3421, allocations: 53.98 kB / 457.6 MB, free: 38.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001216/0.3423, allocations: 163.2 kB / 457.7 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.3426, allocations: 90.31 kB / 457.8 MB, free: 38.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.811e-05/0.3426, allocations: 31.2 kB / 457.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.3429, allocations: 105.4 kB / 458 MB, free: 38.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/0.3429, allocations: 39.23 kB / 458 MB, free: 38.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.3429, allocations: 0 / 458 MB, free: 38.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.005074/0.348, allocations: 1.15 MB / 459.1 MB, free: 38.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.3481, allocations: 54.53 kB / 459.2 MB, free: 38.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.754e-05/0.3481, allocations: 100.9 kB / 459.3 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.3482, allocations: 26.45 kB / 459.3 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.947e-05/0.3482, allocations: 84.55 kB / 459.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.665e-05/0.3482, allocations: 44.95 kB / 459.4 MB, free: 37.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/0.3483, allocations: 31.34 kB / 459.5 MB, free: 37.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.3483, allocations: 312.7 kB / 459.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000173/0.3485, allocations: 55.72 kB / 459.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001624/0.3487, allocations: 63.28 kB / 459.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003181/0.349, allocations: 117.1 kB / 460 MB, free: 37.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.349, allocations: 0.75 kB / 460 MB, free: 37.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003886/0.3494, allocations: 169 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3494, allocations: 4.688 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3495, allocations: 2.812 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3495, allocations: 0.5625 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.3497, allocations: 45.14 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3497, allocations: 0.5625 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.3499, allocations: 12.41 kB / 460.2 MB, free: 37.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.3499, allocations: 6 kB / 460.2 MB, free: 37.43 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.35, allocations: 118.3 kB / 460.4 MB, free: 37.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.209e-05/0.35, allocations: 11.38 kB / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.129e-05/0.3501, allocations: 21.94 kB / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.3501, allocations: 0 / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3501, allocations: 3.859 kB / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3501, allocations: 1.594 kB / 460.4 MB, free: 37.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000664/0.3508, allocations: 427.8 kB / 460.8 MB, free: 37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3508, allocations: 4 kB / 460.8 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/0.351, allocations: 37.08 kB / 460.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3511, allocations: 3.562 kB / 460.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3511, allocations: 0 / 460.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3511, allocations: 0.9375 kB / 460.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3511, allocations: 4.078 kB / 460.9 MB, free: 36.99 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006022/0.3517, allocations: 336.1 kB / 461.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.3517, allocations: 79.8 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.3518, allocations: 0 / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000204/0.352, allocations: 18.02 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.352, allocations: 13.3 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.352, allocations: 3.094 kB / 461.3 MB, free: 36.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.809e-05/0.352, allocations: 77.97 kB / 461.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.352, allocations: 0 / 461.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.3523, allocations: 19.88 kB / 461.4 MB, free: 36.68 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 (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.0001058/0.3524, allocations: 106 kB / 461.5 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004012/0.3528, allocations: 133.1 kB / 461.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3528, allocations: 2.875 kB / 461.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.353, allocations: 66.86 kB / 461.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.3533, allocations: 11.98 kB / 461.7 MB, free: 36.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3544, allocations: 432.1 kB / 462.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3546, allocations: 0.6892 MB / 462.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.3547, allocations: 14.53 kB / 462.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.3548, allocations: 15.31 kB / 462.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3548, allocations: 0 / 462.9 MB, free: 35.65 MB / 382.1 MB Notification: Performance of Templates: time 0.003156/0.3579, allocations: 0.8842 MB / 463.7 MB, free: 35.61 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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)