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.001056/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001245/0.001245, allocations: 193.5 kB / 16.14 MB, free: 6.656 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.565/1.565, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4046/0.4046, allocations: 54.93 MB / 324.3 MB, free: 188 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.002065/0.002065, allocations: 63.91 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1393, allocations: 59.6 MB / 454.2 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.2163/0.3557, allocations: 1.312 MB / 455.6 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009082/0.3566, allocations: 0.5543 MB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.824e-05/0.3567, allocations: 0 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.3567, allocations: 0 / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.3568, allocations: 7.641 kB / 456.1 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.3572, allocations: 98.58 kB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.3572, allocations: 23.03 kB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.915e-05/0.3573, allocations: 3.812 kB / 456.2 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.548e-05/0.3573, allocations: 14.17 kB / 456.3 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.35e-05/0.3574, allocations: 9.609 kB / 456.3 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.3574, allocations: 0 / 456.3 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.3579, allocations: 351.3 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.403e-05/0.3579, allocations: 6 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.72e-05/0.3579, allocations: 9.844 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.3582, allocations: 133.6 kB / 456.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3582, allocations: 1.281 kB / 456.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.3582, allocations: 3.812 kB / 456.8 MB, free: 38.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3582, allocations: 0 / 456.8 MB, free: 38.69 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.0003677/0.3586, allocations: 353.1 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3586, allocations: 8.594 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.807e-05/0.3587, allocations: 6.844 kB / 457.1 MB, free: 38.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.263e-05/0.3588, allocations: 166.6 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3588, allocations: 3.312 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.3588, allocations: 5.906 kB / 457.3 MB, free: 38.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003673/0.3592, allocations: 71.64 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.3592, allocations: 1 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.3592, allocations: 7.5 kB / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3593, allocations: 0 / 457.4 MB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.3595, allocations: 44.83 kB / 457.4 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.3596, allocations: 155.8 kB / 457.6 MB, free: 37.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003826/0.36, allocations: 81.61 kB / 457.6 MB, free: 37.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.3601, allocations: 15.48 kB / 457.7 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.3604, allocations: 108.4 kB / 457.8 MB, free: 37.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.3604, allocations: 31.19 kB / 457.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.3604, allocations: 2.438 kB / 457.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.002642/0.363, allocations: 0.6054 MB / 458.4 MB, free: 37.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.3631, allocations: 54.28 kB / 458.5 MB, free: 37.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.38e-05/0.3631, allocations: 96.08 kB / 458.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3631, allocations: 29.52 kB / 458.6 MB, free: 37.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.506e-05/0.3632, allocations: 80.98 kB / 458.7 MB, free: 37.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3632, allocations: 25.72 kB / 458.7 MB, free: 37.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.3632, allocations: 20.12 kB / 458.7 MB, free: 37.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.68e-05/0.3633, allocations: 316.8 kB / 459 MB, free: 36.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001164/0.3634, allocations: 32 kB / 459 MB, free: 36.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001069/0.3635, allocations: 38.81 kB / 459.1 MB, free: 36.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.3638, allocations: 74.61 kB / 459.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3638, allocations: 2.75 kB / 459.2 MB, free: 36.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002632/0.364, allocations: 102.5 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.3641, allocations: 7.562 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3641, allocations: 1.281 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.3641, allocations: 1.312 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3642, allocations: 28.7 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3642, allocations: 0 / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.416e-05/0.3643, allocations: 10.78 kB / 459.3 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3643, allocations: 3.453 kB / 459.3 MB, free: 36.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 (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.692e-05/0.3644, allocations: 114.3 kB / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.3644, allocations: 11.78 kB / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.3645, allocations: 10.31 kB / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3645, allocations: 0 / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3645, allocations: 0 / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3645, allocations: 0 / 459.4 MB, free: 36.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005354/0.365, allocations: 372.4 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3651, allocations: 3.938 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.3652, allocations: 18.12 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3652, allocations: 5.969 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.3652, allocations: 2.938 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3652, allocations: 2.531 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3652, allocations: 2.969 kB / 459.8 MB, free: 36.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004186/0.3657, allocations: 243.6 kB / 460.1 MB, free: 36.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.23e-05/0.3657, allocations: 87.5 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.3657, allocations: 3.531 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.3659, allocations: 13.06 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.769e-05/0.3659, allocations: 3.5 kB / 460.2 MB, free: 36.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.718e-06/0.3659, allocations: 11.5 kB / 460.2 MB, free: 36.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.539e-05/0.3659, allocations: 76.64 kB / 460.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3659, allocations: 0.9375 kB / 460.3 MB, free: 36.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002287/0.3662, allocations: 15.28 kB / 460.3 MB, free: 36.07 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.0001059/0.3663, allocations: 100.6 kB / 460.4 MB, free: 35.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.3666, allocations: 84.11 kB / 460.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3666, allocations: 1.781 kB / 460.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.3667, allocations: 38.08 kB / 460.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.3669, allocations: 10.56 kB / 460.5 MB, free: 35.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006523/0.3676, allocations: 265.4 kB / 460.8 MB, free: 35.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.3677, allocations: 0.6795 MB / 461.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.373e-05/0.3678, allocations: 9.688 kB / 461.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.3678, allocations: 9.406 kB / 461.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3678, allocations: 2.625 kB / 461.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of Templates: time 0.002456/0.3703, allocations: 0.6725 MB / 462.1 MB, free: 35.07 MB / 382.1 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)