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.0008842/0.0008892, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.009439/0.009439, allocations: 174.1 kB / 16.27 MB, free: 6.613 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.646/1.646, allocations: 205.4 MB / 222.5 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4724/0.4724, allocations: 55 MB / 325.7 MB, free: 0.6602 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.0005739/0.0005743, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4023, allocations: 60.71 MB / 458 MB, free: 38.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001355/0.4038, allocations: 0.9953 MB / 459 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.4048, allocations: 0.5365 MB / 459.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.834e-05/0.4048, allocations: 0 / 459.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.812e-05/0.4048, allocations: 4.031 kB / 459.5 MB, free: 38.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.769e-05/0.4049, allocations: 6.594 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004232/0.4053, allocations: 105.7 kB / 459.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.524e-05/0.4054, allocations: 15.62 kB / 459.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.4055, allocations: 7.078 kB / 459.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.129e-05/0.4055, allocations: 11.67 kB / 459.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.4056, allocations: 9.203 kB / 459.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.4056, allocations: 0 / 459.7 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.4061, allocations: 347.7 kB / 460 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.4061, allocations: 4.828 kB / 460 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.4062, allocations: 40.41 kB / 460.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.4064, allocations: 136.9 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4064, allocations: 0.7188 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4064, allocations: 0 / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4064, allocations: 1.219 kB / 460.2 MB, free: 38.18 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.0003894/0.4068, allocations: 345.3 kB / 460.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4069, allocations: 12.66 kB / 460.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.4069, allocations: 2.75 kB / 460.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.4071, allocations: 169.4 kB / 460.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.4071, allocations: 4.906 kB / 460.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4071, allocations: 5.516 kB / 460.7 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.4075, allocations: 81.91 kB / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4075, allocations: 192 / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4076, allocations: 7.625 kB / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.4076, allocations: 1.312 kB / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.4078, allocations: 61.55 kB / 460.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.408, allocations: 157.8 kB / 461 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003803/0.4084, allocations: 84.23 kB / 461.1 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.276e-05/0.4084, allocations: 17.86 kB / 461.1 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.4087, allocations: 114.9 kB / 461.2 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.4087, allocations: 37.44 kB / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.4087, allocations: 0 / 461.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002732/0.4115, allocations: 0.718 MB / 462 MB, free: 36.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.4115, allocations: 54.81 kB / 462 MB, free: 36.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.4116, allocations: 100.2 kB / 462.1 MB, free: 36.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.4116, allocations: 25.7 kB / 462.2 MB, free: 36.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/0.4116, allocations: 83.89 kB / 462.2 MB, free: 36.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.326e-05/0.4117, allocations: 20.73 kB / 462.3 MB, free: 36.65 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.4117, allocations: 20.61 kB / 462.3 MB, free: 36.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.4118, allocations: 313.4 kB / 462.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.4119, allocations: 46.36 kB / 462.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.4121, allocations: 35.92 kB / 462.7 MB, free: 36.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.4123, allocations: 89.58 kB / 462.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4123, allocations: 0 / 462.8 MB, free: 36.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002998/0.4126, allocations: 122.9 kB / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.4127, allocations: 10.48 kB / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.4127, allocations: 0 / 462.9 MB, free: 36.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4127, allocations: 4.562 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4128, allocations: 27.02 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4128, allocations: 4.844 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.397e-05/0.4129, allocations: 13.09 kB / 462.9 MB, free: 36.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.413, allocations: 7.672 kB / 462.9 MB, free: 36.26 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 7.303e-05/0.413, allocations: 113.5 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.615e-05/0.4131, allocations: 11.09 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.356e-05/0.4131, allocations: 6.594 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.4131, allocations: 1.5 kB / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4131, allocations: 0 / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4131, allocations: 0 / 463.1 MB, free: 36.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006058/0.4137, allocations: 397.7 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4138, allocations: 3.938 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4139, allocations: 25.91 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4139, allocations: 3.031 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.4139, allocations: 8.609 kB / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4139, allocations: 0 / 463.5 MB, free: 35.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/0.414, allocations: 6.812 kB / 463.5 MB, free: 35.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004964/0.4145, allocations: 266.1 kB / 463.8 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.4145, allocations: 83.5 kB / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.4145, allocations: 0 / 463.8 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.4147, allocations: 18.41 kB / 463.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.4147, allocations: 6.156 kB / 463.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.4147, allocations: 1.812 kB / 463.9 MB, free: 35.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.129e-05/0.4147, allocations: 79.66 kB / 464 MB, free: 35.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4147, allocations: 0 / 464 MB, free: 35.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.415, allocations: 18.78 kB / 464 MB, free: 35.49 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 (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.0001158/0.4151, allocations: 104.5 kB / 464.1 MB, free: 35.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003186/0.4154, allocations: 91.2 kB / 464.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4154, allocations: 0 / 464.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4156, allocations: 48.61 kB / 464.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.4158, allocations: 11.12 kB / 464.2 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007791/0.4166, allocations: 315.4 kB / 464.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/0.4168, allocations: 0.6783 MB / 465.2 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.4169, allocations: 7.266 kB / 465.2 MB, free: 34.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.295e-05/0.4169, allocations: 10.41 kB / 465.2 MB, free: 34.51 MB / 382.1 MB Notification: Performance of SimCode: time 2.314e-06/0.4169, allocations: 0 / 465.2 MB, free: 34.51 MB / 382.1 MB Notification: Performance of Templates: time 0.002774/0.4197, allocations: 0.6759 MB / 465.9 MB, free: 34.48 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: