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_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2971/0.2971, allocations: 54.33 MB / 66.89 MB, free: 6.105 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001147/0.001147, allocations: 187.1 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.459/1.459, allocations: 194.2 MB / 288.6 MB, free: 15.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 112.7 kB / 346.9 MB, free: 4.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.691e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 57.65 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4258/0.5513, allocations: 86.34 MB / 0.5433 GB, free: 4.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.5515, allocations: 75.95 kB / 0.5434 GB, free: 4.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009218/0.5607, allocations: 3.121 MB / 0.5465 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5608, allocations: 0 / 0.5465 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.5608, allocations: 0 / 0.5465 GB, free: 0.9219 MB / 378.7 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.0003666/0.5612, allocations: 351 kB / 0.5468 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.5612, allocations: 8.031 kB / 0.5468 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.5613, allocations: 4 kB / 0.5468 GB, free: 0.5234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001315/0.5614, allocations: 167 kB / 0.547 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.5614, allocations: 4 kB / 0.547 GB, free: 324 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.5615, allocations: 4 kB / 0.547 GB, free: 320 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.562, allocations: 109.6 kB / 0.5471 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.562, allocations: 0 / 0.5471 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.562, allocations: 0 / 0.5471 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.5621, allocations: 0 / 0.5471 GB, free: 204 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003456/0.5624, allocations: 75.92 kB / 0.5472 GB, free: 128 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002201/0.5626, allocations: 165.8 kB / 0.5473 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.563, allocations: 118.4 kB / 0.5474 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.5631, allocations: 24.86 kB / 0.5474 GB, free: 15.76 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002852/0.5634, allocations: 109.1 kB / 0.5476 GB, free: 15.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.5634, allocations: 34.56 kB / 0.5476 GB, free: 15.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.5634, allocations: 3.938 kB / 0.5476 GB, free: 15.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.005764/0.5692, allocations: 1.413 MB / 0.549 GB, free: 14.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.5693, allocations: 55.41 kB / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.508e-05/0.5694, allocations: 96.98 kB / 0.5491 GB, free: 13.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.863e-05/0.5694, allocations: 25.7 kB / 0.5491 GB, free: 13.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.5694, allocations: 84.14 kB / 0.5492 GB, free: 13.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.913e-05/0.5695, allocations: 35.47 kB / 0.5493 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5695, allocations: 0 / 0.5493 GB, free: 13.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5696, allocations: 318.8 kB / 0.5496 GB, free: 13.45 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.004e-05/0.5697, allocations: 28 kB / 0.5496 GB, free: 13.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.898e-05/0.5698, allocations: 39.92 kB / 0.5496 GB, free: 13.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.63e-05/0.5699, allocations: 31.98 kB / 0.5497 GB, free: 13.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.5699, allocations: 4.125 kB / 0.5497 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002183/0.5701, allocations: 121.5 kB / 0.5498 GB, free: 13.22 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.5702, allocations: 6.031 kB / 0.5498 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.5702, allocations: 0 / 0.5498 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.5702, allocations: 4 kB / 0.5498 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.5706, allocations: 63.94 kB / 0.5498 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.5706, allocations: 4 kB / 0.5498 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002504/0.5709, allocations: 43.95 kB / 0.5499 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.5709, allocations: 8.875 kB / 0.5499 GB, free: 13.09 MB / 394.7 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 () * 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 8.221e-05/0.571, allocations: 109 kB / 0.55 GB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.571, allocations: 7.953 kB / 0.55 GB, free: 12.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.184e-05/0.571, allocations: 12.08 kB / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.5711, allocations: 0 / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.5711, allocations: 4 kB / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.5711, allocations: 0 / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.5717, allocations: 394.2 kB / 0.5504 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.5717, allocations: 4 kB / 0.5504 GB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/0.572, allocations: 67.94 kB / 0.5505 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.5721, allocations: 0 / 0.5505 GB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.5721, allocations: 11.98 kB / 0.5505 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5721, allocations: 0 / 0.5505 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5721, allocations: 0 / 0.5505 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/0.5725, allocations: 260 kB / 0.5507 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.169e-05/0.5725, allocations: 88.95 kB / 0.5508 GB, free: 12.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.5726, allocations: 8.031 kB / 0.5508 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003069/0.5729, allocations: 44.02 kB / 0.5509 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.5729, allocations: 8.078 kB / 0.5509 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.5729, allocations: 11.94 kB / 0.5509 GB, free: 11.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.53e-05/0.573, allocations: 79.28 kB / 0.551 GB, free: 11.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.573, allocations: 0 / 0.551 GB, free: 11.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002305/0.5732, allocations: 24 kB / 0.551 GB, free: 11.89 MB / 394.7 MB 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 () * 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.0001575/0.5734, allocations: 119.2 kB / 0.5511 GB, free: 11.76 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.5736, allocations: 87.86 kB / 0.5512 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5736, allocations: 0 / 0.5512 GB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.567e-05/0.5737, allocations: 43.98 kB / 0.5512 GB, free: 11.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.5739, allocations: 7.859 kB / 0.5512 GB, free: 11.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001716/0.5756, allocations: 496.3 kB / 0.5517 GB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.5759, allocations: 0.6887 MB / 0.5524 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001406/0.576, allocations: 23.94 kB / 0.5524 GB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.5761, allocations: 11.44 kB / 0.5524 GB, free: 10.37 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.5761, allocations: 0 / 0.5524 GB, free: 10.37 MB / 394.7 MB Notification: Performance of Templates: time 0.003093/0.5792, allocations: 1.071 MB / 0.5535 GB, free: 9.324 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)