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_DerivativeCheck2.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001109, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.00128/0.00128, allocations: 172.7 kB / 15.95 MB, free: 208 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.802/1.802, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4141/0.4141, allocations: 55.01 MB / 325.4 MB, free: 0.6094 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.0005188/0.0005188, allocations: 16 kB / 396.7 MB, free: 11.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3906, allocations: 60.71 MB / 457.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.001327/0.392, allocations: 0.9976 MB / 458.4 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007644/0.3927, allocations: 497.1 kB / 458.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.3928, allocations: 2.719 kB / 458.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.365e-05/0.3928, allocations: 0 / 458.9 MB, free: 38.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.956e-05/0.3929, allocations: 15.09 kB / 458.9 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.3933, allocations: 104.3 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.292e-05/0.3933, allocations: 25.05 kB / 459 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.221e-05/0.3934, allocations: 5.562 kB / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.426e-05/0.3934, allocations: 14.77 kB / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.3935, allocations: 16.72 kB / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.3935, allocations: 0 / 459 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004177/0.3939, allocations: 342 kB / 459.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.3939, allocations: 9.391 kB / 459.4 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.394, allocations: 28.48 kB / 459.4 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.3942, allocations: 98.7 kB / 459.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.3942, allocations: 3.828 kB / 459.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3942, allocations: 0 / 459.5 MB, free: 37.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.89e-06/0.3942, allocations: 0 / 459.5 MB, free: 37.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003452/0.3945, allocations: 360.4 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.3946, allocations: 8.844 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.3946, allocations: 4.625 kB / 459.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.747e-05/0.3947, allocations: 171 kB / 460 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3948, allocations: 2.875 kB / 460 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.3948, allocations: 12.22 kB / 460 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.3951, allocations: 89.09 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3952, allocations: 0 / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3952, allocations: 2.156 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.3952, allocations: 3.875 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.3954, allocations: 56.03 kB / 460.2 MB, free: 37.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001918/0.3956, allocations: 168.3 kB / 460.4 MB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003178/0.396, allocations: 102.9 kB / 460.5 MB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.396, allocations: 31.62 kB / 460.5 MB, free: 37.1 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.3963, allocations: 117.8 kB / 460.6 MB, free: 37.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.3963, allocations: 34.69 kB / 460.6 MB, free: 36.97 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 3.026e-06/0.3964, allocations: 1.125 kB / 460.6 MB, free: 36.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.004494/0.4009, allocations: 1.346 MB / 462 MB, free: 36.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.4009, allocations: 54.34 kB / 462 MB, free: 36.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.545e-05/0.401, allocations: 99.98 kB / 462.1 MB, free: 36.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/0.401, allocations: 26.83 kB / 462.2 MB, free: 36.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/0.401, allocations: 84.02 kB / 462.2 MB, free: 36.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.4011, allocations: 36.78 kB / 462.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/0.4011, allocations: 0 / 462.3 MB, free: 36.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.074e-05/0.4011, allocations: 318 kB / 462.6 MB, free: 35.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.4013, allocations: 73.11 kB / 462.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.4015, allocations: 68.2 kB / 462.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.4016, allocations: 73.25 kB / 462.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4017, allocations: 0 / 462.8 MB, free: 35.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003907/0.402, allocations: 192.7 kB / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.4021, allocations: 3.719 kB / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4021, allocations: 0 / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.4021, allocations: 4.062 kB / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002578/0.4024, allocations: 39.42 kB / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.4024, allocations: 6.766 kB / 463 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.4025, allocations: 29.86 kB / 463.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.4026, allocations: 3.844 kB / 463.1 MB, free: 35.82 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 (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 6.769e-05/0.4026, allocations: 120.1 kB / 463.2 MB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.717e-05/0.4027, allocations: 7.656 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.4027, allocations: 10.53 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4027, allocations: 0 / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4027, allocations: 3.094 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4027, allocations: 7.938 kB / 463.2 MB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.4034, allocations: 455.1 kB / 463.7 MB, free: 35.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.4034, allocations: 3.938 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.4036, allocations: 42.58 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4037, allocations: 0 / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.4037, allocations: 3.953 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4037, allocations: 8.812 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4037, allocations: 3.469 kB / 463.7 MB, free: 35.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.4043, allocations: 359.6 kB / 464.1 MB, free: 35.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.648e-05/0.4043, allocations: 80.61 kB / 464.2 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.189e-05/0.4043, allocations: 2.781 kB / 464.2 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.4045, allocations: 26.53 kB / 464.2 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.196e-05/0.4046, allocations: 13.66 kB / 464.2 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4046, allocations: 6.938 kB / 464.2 MB, free: 35.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.274e-05/0.4046, allocations: 78 kB / 464.3 MB, free: 35.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4046, allocations: 0 / 464.3 MB, free: 35.05 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.4049, allocations: 20.94 kB / 464.3 MB, free: 35.05 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001207/0.405, allocations: 104.6 kB / 464.4 MB, free: 34.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004193/0.4054, allocations: 155.3 kB / 464.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4054, allocations: 6.938 kB / 464.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4056, allocations: 76.2 kB / 464.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.4058, allocations: 6.375 kB / 464.6 MB, free: 34.95 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.4069, allocations: 0.5087 MB / 465.2 MB, free: 34.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.407, allocations: 0.6814 MB / 465.8 MB, free: 34.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.4072, allocations: 17.09 kB / 465.9 MB, free: 34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.472e-05/0.4072, allocations: 16 kB / 465.9 MB, free: 34 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4072, allocations: 0 / 465.9 MB, free: 34 MB / 382.1 MB Notification: Performance of Templates: time 0.002722/0.41, allocations: 0.859 MB / 466.7 MB, free: 33.96 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) Environment - environmentSimulation: