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/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_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/Annex60 1.0.0/package.mo): time 0.2992/0.2992, allocations: 54.34 MB / 66.89 MB, free: 6.09 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.0009567/0.0009568, allocations: 180.2 kB / 80.7 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.602/1.602, allocations: 194.2 MB / 288.6 MB, free: 15 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.001804/0.001804, allocations: 112 kB / 346.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.597e-05/2.6e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 57.64 MB / 470 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5231, allocations: 86.2 MB / 0.5432 GB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5235, allocations: 83.94 kB / 0.5433 GB, free: 4.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007892/0.5314, allocations: 2.614 MB / 0.5458 GB, free: 1.551 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5314, allocations: 0 / 0.5458 GB, free: 1.551 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.5314, allocations: 0 / 0.5458 GB, free: 1.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000294/0.5317, allocations: 347 kB / 0.5462 GB, free: 1.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.5318, allocations: 8.031 kB / 0.5462 GB, free: 1.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.5318, allocations: 7.906 kB / 0.5462 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.532, allocations: 167.1 kB / 0.5463 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.532, allocations: 0 / 0.5463 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.306e-05/0.532, allocations: 7.938 kB / 0.5464 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000456/0.5325, allocations: 101.6 kB / 0.5464 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.5325, allocations: 0 / 0.5464 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5325, allocations: 0 / 0.5464 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5325, allocations: 0 / 0.5464 GB, free: 0.8359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.5328, allocations: 59.94 kB / 0.5465 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001938/0.5331, allocations: 161.7 kB / 0.5467 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000469/0.5335, allocations: 102.4 kB / 0.5468 GB, free: 472 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.5336, allocations: 16.86 kB / 0.5468 GB, free: 452 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002885/0.5339, allocations: 105.2 kB / 0.5469 GB, free: 328 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.5339, allocations: 34.52 kB / 0.5469 GB, free: 284 kB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5339, allocations: 0 / 0.5469 GB, free: 284 kB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.003205/0.5371, allocations: 0.7556 MB / 0.5476 GB, free: 15.47 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5372, allocations: 51.41 kB / 0.5477 GB, free: 15.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.963e-05/0.5373, allocations: 101.2 kB / 0.5478 GB, free: 15.3 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.5373, allocations: 25.7 kB / 0.5478 GB, free: 15.27 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.668e-05/0.5374, allocations: 84.14 kB / 0.5479 GB, free: 15.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.5374, allocations: 23.66 kB / 0.5479 GB, free: 15.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.662e-06/0.5374, allocations: 0 / 0.5479 GB, free: 15.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5375, allocations: 318.8 kB / 0.5482 GB, free: 14.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.663e-05/0.5376, allocations: 16 kB / 0.5482 GB, free: 14.82 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.839e-05/0.5376, allocations: 16 kB / 0.5483 GB, free: 14.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.688e-05/0.5377, allocations: 15.98 kB / 0.5483 GB, free: 14.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-07/0.5377, allocations: 0 / 0.5483 GB, free: 14.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001646/0.5379, allocations: 69.62 kB / 0.5483 GB, free: 14.72 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.123e-05/0.5379, allocations: 7.953 kB / 0.5483 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5379, allocations: 11.98 kB / 0.5484 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5379, allocations: 3.938 kB / 0.5484 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002241/0.5382, allocations: 35.97 kB / 0.5484 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5382, allocations: 3.938 kB / 0.5484 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.5384, allocations: 35.97 kB / 0.5484 GB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.5384, allocations: 4 kB / 0.5484 GB, free: 14.62 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 (7): * Single equations (assignments): 7 * 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 7.273e-05/0.5384, allocations: 105 kB / 0.5485 GB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.5385, allocations: 3.906 kB / 0.5485 GB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.5385, allocations: 16.11 kB / 0.5486 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5385, allocations: 4 kB / 0.5486 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.5385, allocations: 0 / 0.5486 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.5385, allocations: 0 / 0.5486 GB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005402/0.5391, allocations: 363.3 kB / 0.5489 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5391, allocations: 0 / 0.5489 GB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.5393, allocations: 55.88 kB / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.5393, allocations: 0 / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5394, allocations: 0 / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.5394, allocations: 0 / 0.549 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.5394, allocations: 4 kB / 0.549 GB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002638/0.5396, allocations: 214 kB / 0.5492 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.735e-05/0.5397, allocations: 85 kB / 0.5492 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.5397, allocations: 4.031 kB / 0.5492 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.54, allocations: 27.97 kB / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.54, allocations: 0 / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.54, allocations: 7.984 kB / 0.5493 GB, free: 13.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.676e-05/0.54, allocations: 87.34 kB / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.54, allocations: 3.938 kB / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002156/0.5403, allocations: 16 kB / 0.5494 GB, free: 13.53 MB / 394.7 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 () * 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 (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.0001485/0.5404, allocations: 103.2 kB / 0.5495 GB, free: 13.42 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001473/0.5406, allocations: 43.98 kB / 0.5495 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5406, allocations: 0 / 0.5495 GB, free: 13.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.095e-05/0.5406, allocations: 27.92 kB / 0.5496 GB, free: 13.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.5408, allocations: 15.88 kB / 0.5496 GB, free: 13.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008769/0.5417, allocations: 273.4 kB / 0.5498 GB, free: 13.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.542, allocations: 0.6848 MB / 0.5505 GB, free: 12.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.264e-05/0.542, allocations: 8 kB / 0.5505 GB, free: 12.33 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.788e-05/0.5421, allocations: 15.42 kB / 0.5505 GB, free: 12.31 MB / 394.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5421, allocations: 0 / 0.5505 GB, free: 12.31 MB / 394.7 MB Notification: Performance of Templates: time 0.002556/0.5447, allocations: 0.7483 MB / 0.5512 GB, free: 11.59 MB / 394.7 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)