Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001904/0.001904, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.548/1.548, allocations: 205.1 MB / 222.1 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4387/0.4387, allocations: 54.92 MB / 324.4 MB, free: 60 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.002183/0.002183, allocations: 68.28 kB / 394.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1657, allocations: 59.59 MB / 454.5 MB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.2425/0.4082, allocations: 1.32 MB / 455.8 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007355/0.409, allocations: 0.5312 MB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.829e-05/0.4091, allocations: 0 / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.4092, allocations: 0.8125 kB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.4092, allocations: 2.344 kB / 456.3 MB, free: 38.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004041/0.4096, allocations: 115.8 kB / 456.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.706e-05/0.4097, allocations: 33 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.167e-05/0.4097, allocations: 3.469 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.485e-05/0.4098, allocations: 13.75 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.297e-05/0.4098, allocations: 13.97 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.4098, allocations: 2.594 kB / 456.5 MB, free: 38.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.4102, allocations: 351.4 kB / 456.8 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.4103, allocations: 6.266 kB / 456.8 MB, free: 38.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.331e-05/0.4103, allocations: 13.34 kB / 456.9 MB, free: 38.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.4105, allocations: 145.4 kB / 457 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.4105, allocations: 0 / 457 MB, free: 38.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4105, allocations: 2.812 kB / 457 MB, free: 38.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.4105, allocations: 0 / 457 MB, free: 38.75 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.0002931/0.4108, allocations: 361.2 kB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.4109, allocations: 9.875 kB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.732e-05/0.4109, allocations: 10.03 kB / 457.4 MB, free: 38.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.337e-05/0.411, allocations: 169.7 kB / 457.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.411, allocations: 7.156 kB / 457.5 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.411, allocations: 3.844 kB / 457.6 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.4116, allocations: 121.2 kB / 457.7 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4116, allocations: 1.297 kB / 457.7 MB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4117, allocations: 6.875 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.4117, allocations: 0.6875 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.4121, allocations: 93.19 kB / 457.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001377/0.4123, allocations: 165.9 kB / 457.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004956/0.4128, allocations: 127 kB / 458.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.4128, allocations: 28.48 kB / 458.1 MB, free: 37.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003112/0.4132, allocations: 109.9 kB / 458.2 MB, free: 37.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/0.4132, allocations: 36.09 kB / 458.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.4132, allocations: 2.812 kB / 458.2 MB, free: 37.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.00815/0.4214, allocations: 1.805 MB / 460 MB, free: 37.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.774e-05/0.4214, allocations: 59.94 kB / 460.1 MB, free: 37.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.164e-05/0.4215, allocations: 96.59 kB / 460.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.4215, allocations: 29.27 kB / 460.2 MB, free: 37.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.67e-05/0.4215, allocations: 83.14 kB / 460.3 MB, free: 37.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.463e-05/0.4216, allocations: 44.58 kB / 460.3 MB, free: 37.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.962e-05/0.4216, allocations: 28.22 kB / 460.4 MB, free: 37.01 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.4217, allocations: 316.2 kB / 460.7 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000357/0.422, allocations: 102.1 kB / 460.8 MB, free: 36.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003387/0.4224, allocations: 101.8 kB / 460.9 MB, free: 36.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.4231, allocations: 217.6 kB / 461.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4231, allocations: 0 / 461.1 MB, free: 36.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007567/0.4239, allocations: 254.4 kB / 461.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.4239, allocations: 7.25 kB / 461.3 MB, free: 36.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4239, allocations: 4 kB / 461.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.4239, allocations: 0 / 461.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.4243, allocations: 58.02 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4243, allocations: 2.719 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/0.4246, allocations: 41.53 kB / 461.4 MB, free: 36.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.4246, allocations: 6.562 kB / 461.5 MB, free: 36.62 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.832e-05/0.4247, allocations: 114.6 kB / 461.6 MB, free: 36.51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.4247, allocations: 10.75 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.585e-05/0.4248, allocations: 11.22 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4248, allocations: 2.844 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4248, allocations: 0 / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.4248, allocations: 3.375 kB / 461.6 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001086/0.4259, allocations: 0.5204 MB / 462.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4259, allocations: 4.625 kB / 462.1 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003649/0.4263, allocations: 57.5 kB / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4263, allocations: 0 / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4263, allocations: 7.875 kB / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4263, allocations: 2.75 kB / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4263, allocations: 4.859 kB / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001214/0.4276, allocations: 461.5 kB / 462.6 MB, free: 36.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.439e-05/0.4276, allocations: 83.17 kB / 462.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.905e-05/0.4276, allocations: 0 / 462.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/0.428, allocations: 40.09 kB / 462.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.187e-05/0.428, allocations: 10.02 kB / 462.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.411e-05/0.428, allocations: 6.688 kB / 462.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.165e-05/0.428, allocations: 82.25 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4281, allocations: 0 / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.4283, allocations: 21.06 kB / 462.9 MB, free: 35.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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 0.0001097/0.4284, allocations: 101.7 kB / 463 MB, free: 35.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008086/0.4292, allocations: 227.5 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4292, allocations: 0.6562 kB / 463.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.4296, allocations: 118.2 kB / 463.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002398/0.4299, allocations: 6.812 kB / 463.3 MB, free: 35.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.4319, allocations: 0.5923 MB / 463.9 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4321, allocations: 0.6879 MB / 464.6 MB, free: 34.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001367/0.4322, allocations: 21.41 kB / 464.6 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.4323, allocations: 17.58 kB / 464.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4323, allocations: 0 / 464.6 MB, free: 34.83 MB / 382.1 MB Notification: Performance of Templates: time 0.003082/0.4354, allocations: 1.143 MB / 465.8 MB, free: 34.79 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)