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_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_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3085/0.3085, allocations: 54.42 MB / 61.89 MB, free: 13.74 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.001199/0.001199, allocations: 186.8 kB / 75.62 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.433/1.433, allocations: 194.3 MB / 283.5 MB, free: 14.86 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.001808/0.001808, allocations: 117.1 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.5e-05, allocations: 0 / 405.5 MB, free: 4.148 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.378/0.378, allocations: 57.64 MB / 463.1 MB, free: 51.85 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1144/0.4925, allocations: 85.13 MB / 0.5354 GB, free: 64 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4928, allocations: 85.67 kB / 0.5355 GB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005315/0.4981, allocations: 1.631 MB / 0.5371 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4982, allocations: 0 / 0.5371 GB, free: 14.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4982, allocations: 0 / 0.5371 GB, free: 14.39 MB / 394.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.0003344/0.4985, allocations: 331.1 kB / 0.5374 GB, free: 14.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.4986, allocations: 9.312 kB / 0.5374 GB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.991e-05/0.4986, allocations: 7.906 kB / 0.5374 GB, free: 14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.4988, allocations: 165.8 kB / 0.5376 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4988, allocations: 0 / 0.5376 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.4988, allocations: 4 kB / 0.5376 GB, free: 13.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.806e-05/0.4989, allocations: 13.61 kB / 0.5376 GB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.972e-05/0.499, allocations: 40.95 kB / 0.5376 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.499, allocations: 6.5 kB / 0.5377 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.499, allocations: 0 / 0.5377 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.499, allocations: 1.125 kB / 0.5377 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.4992, allocations: 130.2 kB / 0.5378 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.4994, allocations: 45.64 kB / 0.5378 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.4994, allocations: 12.86 kB / 0.5378 GB, free: 13.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002746/0.4997, allocations: 109.8 kB / 0.5379 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.4998, allocations: 35.81 kB / 0.538 GB, free: 13.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4998, allocations: 0 / 0.538 GB, free: 13.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.001906/0.5017, allocations: 494.6 kB / 0.5384 GB, free: 12.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.5017, allocations: 51.41 kB / 0.5385 GB, free: 12.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.167e-05/0.5018, allocations: 93 kB / 0.5386 GB, free: 12.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.5018, allocations: 29.69 kB / 0.5386 GB, free: 12.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.5019, allocations: 84.14 kB / 0.5387 GB, free: 12.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.5019, allocations: 15.72 kB / 0.5387 GB, free: 12.52 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.5019, allocations: 1.406 kB / 0.5387 GB, free: 12.52 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5021, allocations: 317.8 kB / 0.539 GB, free: 12.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.37e-05/0.5021, allocations: 19.92 kB / 0.539 GB, free: 12.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.5021, allocations: 13.88 kB / 0.539 GB, free: 12.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.221e-05/0.5022, allocations: 12 kB / 0.5391 GB, free: 12.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.5022, allocations: 4 kB / 0.5391 GB, free: 12.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001179/0.5023, allocations: 61.69 kB / 0.5391 GB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.5023, allocations: 8 kB / 0.5391 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.5023, allocations: 0 / 0.5391 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.5024, allocations: 0 / 0.5391 GB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.5025, allocations: 35.92 kB / 0.5392 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5025, allocations: 0 / 0.5392 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.909e-05/0.5026, allocations: 15.98 kB / 0.5392 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.5026, allocations: 4 kB / 0.5392 GB, free: 12.03 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.779e-05/0.5027, allocations: 108.9 kB / 0.5393 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.5028, allocations: 5.875 kB / 0.5393 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.5028, allocations: 8.406 kB / 0.5393 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.5028, allocations: 0 / 0.5393 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.5028, allocations: 3.953 kB / 0.5393 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.5028, allocations: 3.984 kB / 0.5393 GB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.5033, allocations: 312.4 kB / 0.5396 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.5033, allocations: 0 / 0.5396 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.5034, allocations: 31.91 kB / 0.5396 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.5034, allocations: 0 / 0.5396 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.5035, allocations: 0 / 0.5396 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.5035, allocations: 7.953 kB / 0.5396 GB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.5035, allocations: 7.969 kB / 0.5396 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.5037, allocations: 196.4 kB / 0.5398 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.5038, allocations: 89.03 kB / 0.5399 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.5038, allocations: 3.953 kB / 0.5399 GB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.504, allocations: 24.05 kB / 0.5399 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.504, allocations: 0 / 0.5399 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.504, allocations: 4 kB / 0.54 GB, free: 11.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.509e-05/0.5041, allocations: 83.22 kB / 0.54 GB, free: 11.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5041, allocations: 0 / 0.54 GB, free: 11.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.5043, allocations: 15.98 kB / 0.54 GB, free: 11.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_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.0001314/0.5044, allocations: 106.8 kB / 0.5401 GB, free: 10.95 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001138/0.5046, allocations: 36 kB / 0.5402 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5046, allocations: 4 kB / 0.5402 GB, free: 10.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.5046, allocations: 23.92 kB / 0.5402 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.5048, allocations: 7.5 kB / 0.5402 GB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.5054, allocations: 193.2 kB / 0.5404 GB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.5057, allocations: 0.6846 MB / 0.5411 GB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.467e-05/0.5057, allocations: 10 kB / 0.5411 GB, free: 9.953 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.5058, allocations: 15.44 kB / 0.5411 GB, free: 9.938 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5058, allocations: 0 / 0.5411 GB, free: 9.938 MB / 394.7 MB Notification: Performance of Templates: time 0.002575/0.5084, allocations: 0.6038 MB / 0.5417 GB, free: 9.348 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1)