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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001721/0.001721, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.623/1.623, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4052/0.4052, allocations: 55.02 MB / 325.4 MB, free: 0.6641 MB / 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.0005773/0.0005777, allocations: 16 kB / 396.7 MB, free: 11.69 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3797, allocations: 60.72 MB / 457.4 MB, free: 38.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.00138/0.3811, allocations: 0.9862 MB / 458.4 MB, free: 38.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007678/0.3819, allocations: 493.5 kB / 458.8 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.762e-05/0.3819, allocations: 2.625 kB / 458.9 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.253e-05/0.382, allocations: 1.094 kB / 458.9 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.569e-05/0.382, allocations: 2.891 kB / 458.9 MB, free: 38.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003555/0.3824, allocations: 103.2 kB / 459 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.478e-05/0.3824, allocations: 22.53 kB / 459 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.914e-05/0.3825, allocations: 0.5312 kB / 459 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.3825, allocations: 9.656 kB / 459 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.3826, allocations: 13.95 kB / 459 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.3826, allocations: 0 / 459 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004333/0.383, allocations: 339.2 kB / 459.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.3831, allocations: 6.391 kB / 459.3 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.3831, allocations: 28.48 kB / 459.4 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.3832, allocations: 93.86 kB / 459.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.3833, allocations: 0 / 459.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3833, allocations: 0 / 459.5 MB, free: 38.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3833, allocations: 0 / 459.5 MB, free: 38.82 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.0003102/0.3836, allocations: 343.8 kB / 459.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.3836, allocations: 14.53 kB / 459.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.3837, allocations: 5.094 kB / 459.8 MB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.3838, allocations: 166.4 kB / 460 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.3838, allocations: 4.219 kB / 460 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.999e-05/0.3838, allocations: 4.469 kB / 460 MB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.3842, allocations: 82.23 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3842, allocations: 0.8906 kB / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.3842, allocations: 0 / 460.1 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3842, allocations: 6.281 kB / 460.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002232/0.3844, allocations: 49.11 kB / 460.1 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.3846, allocations: 171.8 kB / 460.3 MB, free: 38.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.3849, allocations: 84.28 kB / 460.4 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.272e-05/0.385, allocations: 21 kB / 460.4 MB, free: 37.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.3852, allocations: 117.6 kB / 460.5 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.3853, allocations: 35.62 kB / 460.5 MB, free: 37.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.3853, allocations: 1 kB / 460.5 MB, free: 37.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.00239/0.3877, allocations: 0.7126 MB / 461.3 MB, free: 37.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.3877, allocations: 55.36 kB / 461.3 MB, free: 37.53 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/0.3878, allocations: 99.81 kB / 461.4 MB, free: 37.43 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.3878, allocations: 33.48 kB / 461.4 MB, free: 37.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.896e-05/0.3878, allocations: 84.14 kB / 461.5 MB, free: 37.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.3878, allocations: 22.16 kB / 461.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-06/0.3879, allocations: 0 / 461.5 MB, free: 37.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.752e-05/0.3879, allocations: 318.1 kB / 461.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.388, allocations: 38.78 kB / 461.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.625e-05/0.3881, allocations: 38.72 kB / 461.9 MB, free: 36.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.3882, allocations: 45.91 kB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3883, allocations: 3.875 kB / 462 MB, free: 36.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002376/0.3885, allocations: 116.1 kB / 462.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3885, allocations: 7.531 kB / 462.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3885, allocations: 0 / 462.1 MB, free: 36.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3885, allocations: 4 kB / 462.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.3887, allocations: 29.77 kB / 462.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3887, allocations: 2.25 kB / 462.1 MB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.458e-05/0.3888, allocations: 21.19 kB / 462.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.226e-06/0.3888, allocations: 3.094 kB / 462.2 MB, free: 36.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.3888, allocations: 113.8 kB / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.069e-05/0.3889, allocations: 3.094 kB / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.3889, allocations: 4.578 kB / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3889, allocations: 2.906 kB / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3889, allocations: 0 / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3889, allocations: 3.141 kB / 462.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.3894, allocations: 407.8 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3895, allocations: 1 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.3896, allocations: 27.02 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3896, allocations: 0.6094 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.3896, allocations: 3.922 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3896, allocations: 0.6562 kB / 462.7 MB, free: 36.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3896, allocations: 3.953 kB / 462.7 MB, free: 36.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/0.39, allocations: 272.8 kB / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.425e-05/0.3901, allocations: 83.56 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3901, allocations: 1.375 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.3902, allocations: 14.66 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.3902, allocations: 11.86 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.3902, allocations: 5.656 kB / 463.1 MB, free: 36.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.873e-05/0.3903, allocations: 77.97 kB / 463.2 MB, free: 36.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3903, allocations: 4.062 kB / 463.2 MB, free: 36.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.3905, allocations: 12 kB / 463.2 MB, free: 36.16 MB / 382.1 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 () * 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 (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 9.128e-05/0.3906, allocations: 100.8 kB / 463.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.3909, allocations: 96.81 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3909, allocations: 0 / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001075/0.391, allocations: 43.12 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.3912, allocations: 9.484 kB / 463.4 MB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005963/0.3918, allocations: 320 kB / 463.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.392, allocations: 0.6783 MB / 464.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.941e-05/0.392, allocations: 6.969 kB / 464.4 MB, free: 35.19 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/0.3921, allocations: 10.56 kB / 464.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3921, allocations: 3.938 kB / 464.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of Templates: time 0.002354/0.3944, allocations: 0.648 MB / 465.1 MB, free: 35.15 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: