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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001322/0.001322, allocations: 197.1 kB / 16.26 MB, free: 6.621 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.61/1.61, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.386/0.386, allocations: 54.93 MB / 324.4 MB, free: 52 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.001556/0.001556, allocations: 63.91 kB / 394.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1396, allocations: 59.59 MB / 454.5 MB, free: 380 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.2673/0.4069, allocations: 1.322 MB / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007291/0.4077, allocations: 0.5193 MB / 456.4 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.4077, allocations: 0.9688 kB / 456.4 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.4079, allocations: 2.625 kB / 456.4 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.829e-05/0.4079, allocations: 6.375 kB / 456.4 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.4083, allocations: 106.8 kB / 456.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.4084, allocations: 22.98 kB / 456.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.946e-05/0.4084, allocations: 0 / 456.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.4085, allocations: 8.734 kB / 456.5 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.4085, allocations: 15.75 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.4085, allocations: 0 / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003923/0.4089, allocations: 353.4 kB / 456.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.033e-05/0.409, allocations: 0 / 456.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.042e-05/0.409, allocations: 6.875 kB / 456.9 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002077/0.4092, allocations: 141.5 kB / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4092, allocations: 0 / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4092, allocations: 0 / 457 MB, free: 38.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.4092, allocations: 0 / 457 MB, free: 38.76 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003234/0.4096, allocations: 357.2 kB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.4096, allocations: 10.97 kB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.4096, allocations: 4.062 kB / 457.4 MB, free: 38.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.155e-05/0.4097, allocations: 171.4 kB / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.4097, allocations: 384 / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.4098, allocations: 3.219 kB / 457.5 MB, free: 38.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.4103, allocations: 112.3 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.4104, allocations: 4.219 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.068e-05/0.4104, allocations: 4.75 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4104, allocations: 0 / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.4109, allocations: 83.22 kB / 457.7 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.411, allocations: 161.8 kB / 457.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005815/0.4116, allocations: 113.8 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.4117, allocations: 22.2 kB / 458 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003035/0.412, allocations: 103.9 kB / 458.1 MB, free: 37.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.412, allocations: 38.72 kB / 458.2 MB, free: 37.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.412, allocations: 0.875 kB / 458.2 MB, free: 37.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004543/0.4165, allocations: 0.9761 MB / 459.2 MB, free: 37.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.4166, allocations: 57.06 kB / 459.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.4167, allocations: 101.1 kB / 459.3 MB, free: 37.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.4167, allocations: 27.02 kB / 459.3 MB, free: 37.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.014e-05/0.4167, allocations: 82.89 kB / 459.4 MB, free: 37.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.11e-05/0.4167, allocations: 19.47 kB / 459.4 MB, free: 37.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.605e-05/0.4168, allocations: 23.31 kB / 459.5 MB, free: 37.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.4168, allocations: 316.2 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002482/0.4171, allocations: 62.14 kB / 459.8 MB, free: 36.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.4173, allocations: 65.08 kB / 459.9 MB, free: 36.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004706/0.4178, allocations: 133.9 kB / 460 MB, free: 36.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4178, allocations: 0 / 460 MB, free: 36.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005228/0.4184, allocations: 167.8 kB / 460.2 MB, free: 36.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.4184, allocations: 11.41 kB / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4184, allocations: 3.969 kB / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4184, allocations: 0 / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.4187, allocations: 35.98 kB / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4187, allocations: 0 / 460.2 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.4188, allocations: 24.95 kB / 460.3 MB, free: 36.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.4189, allocations: 4 kB / 460.3 MB, free: 36.87 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 (7): * Single equations (assignments): 7 * 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 5.958e-05/0.4189, allocations: 115.5 kB / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.4189, allocations: 9.094 kB / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.633e-05/0.419, allocations: 11.12 kB / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.419, allocations: 2.719 kB / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.419, allocations: 0 / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.419, allocations: 0 / 460.4 MB, free: 36.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008688/0.4199, allocations: 443.6 kB / 460.8 MB, free: 36.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.4199, allocations: 4.031 kB / 460.8 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002172/0.4201, allocations: 41.8 kB / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.4201, allocations: 0 / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.4202, allocations: 3.312 kB / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.4202, allocations: 0.5625 kB / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4202, allocations: 2.562 kB / 460.9 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/0.421, allocations: 345.9 kB / 461.2 MB, free: 36.28 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.4211, allocations: 87.33 kB / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4211, allocations: 0 / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.4213, allocations: 24.12 kB / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.481e-05/0.4213, allocations: 9.844 kB / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.4213, allocations: 64 / 461.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.526e-05/0.4214, allocations: 89.42 kB / 461.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4214, allocations: 0 / 461.4 MB, free: 36.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002344/0.4216, allocations: 11.25 kB / 461.4 MB, free: 36.11 MB / 382.1 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 () * Number of clocked 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 (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.0001197/0.4217, allocations: 102 kB / 461.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005763/0.4223, allocations: 134.4 kB / 461.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4223, allocations: 2.062 kB / 461.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.4226, allocations: 71.97 kB / 461.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.4229, allocations: 7.391 kB / 461.7 MB, free: 36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.424, allocations: 356.1 kB / 462.1 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4242, allocations: 0.6781 MB / 462.8 MB, free: 35.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.125e-05/0.4242, allocations: 9.531 kB / 462.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.946e-05/0.4243, allocations: 10.75 kB / 462.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4243, allocations: 4 kB / 462.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of Templates: time 0.00284/0.4272, allocations: 0.8208 MB / 463.6 MB, free: 35.1 MB / 382.1 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)