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.001276/0.001276, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 195.7 kB / 16.64 MB, free: 6.59 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.47/1.47, allocations: 205.1 MB / 222.5 MB, free: 4.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4066/0.4066, allocations: 54.95 MB / 324.8 MB, free: 15.92 MB / 270.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.001504/0.001505, allocations: 71.89 kB / 396.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3817, allocations: 59.57 MB / 455.7 MB, free: 39.87 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002884/0.3846, allocations: 1.28 MB / 457 MB, free: 39.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009755/0.3856, allocations: 0.5325 MB / 457.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.3857, allocations: 0 / 457.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.683e-05/0.3857, allocations: 2.906 kB / 457.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.067e-05/0.3858, allocations: 2.969 kB / 457.5 MB, free: 39.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.3863, allocations: 136.6 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.387e-05/0.3864, allocations: 35.83 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.204e-05/0.3865, allocations: 5.297 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.097e-05/0.3865, allocations: 11.97 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.3866, allocations: 11.38 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.3867, allocations: 5.406 kB / 457.7 MB, free: 39.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005289/0.3872, allocations: 349.7 kB / 458.1 MB, free: 39.37 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.113e-05/0.3872, allocations: 9.516 kB / 458.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.402e-05/0.3873, allocations: 20.16 kB / 458.1 MB, free: 39.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3875, allocations: 136.3 kB / 458.2 MB, free: 39.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.3876, allocations: 0 / 458.2 MB, free: 39.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3876, allocations: 0 / 458.2 MB, free: 39.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3876, allocations: 0.5938 kB / 458.2 MB, free: 39.34 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.000403/0.388, allocations: 365 kB / 458.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.388, allocations: 11.69 kB / 458.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.3881, allocations: 6.438 kB / 458.6 MB, free: 38.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.46e-05/0.3882, allocations: 166.2 kB / 458.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3882, allocations: 4.094 kB / 458.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3882, allocations: 8.094 kB / 458.8 MB, free: 38.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.3886, allocations: 81.3 kB / 458.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3886, allocations: 192 / 458.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3886, allocations: 5.031 kB / 458.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.3887, allocations: 2.594 kB / 458.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002477/0.3889, allocations: 52.03 kB / 458.9 MB, free: 38.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001347/0.3891, allocations: 163.5 kB / 459.1 MB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3894, allocations: 92.8 kB / 459.2 MB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.979e-05/0.3894, allocations: 26.55 kB / 459.2 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002653/0.3897, allocations: 108.7 kB / 459.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3897, allocations: 38.22 kB / 459.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/0.3897, allocations: 2.469 kB / 459.3 MB, free: 38.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.005045/0.3948, allocations: 1.147 MB / 460.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.3948, allocations: 57 kB / 460.5 MB, free: 37.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.3949, allocations: 105.1 kB / 460.6 MB, free: 37.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3949, allocations: 25.7 kB / 460.7 MB, free: 37.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.998e-05/0.395, allocations: 80.14 kB / 460.7 MB, free: 37.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.614e-05/0.395, allocations: 47.98 kB / 460.8 MB, free: 37.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/0.3951, allocations: 25.92 kB / 460.8 MB, free: 37.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.3951, allocations: 314.7 kB / 461.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001812/0.3953, allocations: 64.84 kB / 461.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.3955, allocations: 51.25 kB / 461.2 MB, free: 37.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000331/0.3958, allocations: 121.5 kB / 461.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3958, allocations: 0 / 461.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004082/0.3963, allocations: 169.1 kB / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3963, allocations: 4.094 kB / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3963, allocations: 3.922 kB / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.3963, allocations: 0 / 461.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002548/0.3966, allocations: 37.7 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.3966, allocations: 2.781 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.3968, allocations: 17.41 kB / 461.6 MB, free: 37.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.3968, allocations: 9.812 kB / 461.6 MB, free: 37.25 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.278e-05/0.3969, allocations: 112.3 kB / 461.7 MB, free: 37.13 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.3969, allocations: 14.75 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.677e-05/0.397, allocations: 7.719 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.397, allocations: 0 / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.397, allocations: 2.938 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.397, allocations: 3.375 kB / 461.7 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006813/0.3977, allocations: 439.7 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3977, allocations: 1.312 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/0.3979, allocations: 33.03 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.398, allocations: 2.75 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.398, allocations: 3.5 kB / 462.2 MB, free: 36.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.398, allocations: 4 kB / 462.2 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.398, allocations: 3.344 kB / 462.2 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.3986, allocations: 326.2 kB / 462.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.083e-05/0.3987, allocations: 80.47 kB / 462.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.3987, allocations: 2.438 kB / 462.6 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.399, allocations: 22.2 kB / 462.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.399, allocations: 7.938 kB / 462.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.399, allocations: 6.75 kB / 462.6 MB, free: 36.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.926e-05/0.399, allocations: 78.12 kB / 462.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.399, allocations: 160 / 462.7 MB, free: 36.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3993, allocations: 24.97 kB / 462.7 MB, free: 36.5 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.81e-05/0.3994, allocations: 102.5 kB / 462.8 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003974/0.3998, allocations: 134.7 kB / 463 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3998, allocations: 0 / 463 MB, free: 36.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4, allocations: 75.23 kB / 463 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4002, allocations: 10.31 kB / 463.1 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.4013, allocations: 412.4 kB / 463.5 MB, free: 36.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001342/0.4014, allocations: 0.6835 MB / 464.1 MB, free: 35.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.752e-05/0.4015, allocations: 18.02 kB / 464.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.4016, allocations: 10.72 kB / 464.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4016, allocations: 3.938 kB / 464.2 MB, free: 35.5 MB / 382.1 MB Notification: Performance of Templates: time 0.00289/0.4045, allocations: 0.914 MB / 465.1 MB, free: 35.46 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile (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)