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_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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009904/0.0009905, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007412/0.007413, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.657/1.657, 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.4859/0.4859, allocations: 55.02 MB / 325.8 MB, free: 0.5703 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.0008175/0.0008181, allocations: 16 kB / 397.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4184, allocations: 60.71 MB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001421/0.4199, allocations: 0.9885 MB / 459 MB, free: 38.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009638/0.4208, allocations: 0.5357 MB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.304e-05/0.4209, allocations: 0 / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.4209, allocations: 3.844 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.349e-05/0.421, allocations: 6.672 kB / 459.5 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.4215, allocations: 103.6 kB / 459.6 MB, free: 38.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.125e-05/0.4216, allocations: 27.53 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.4217, allocations: 4.156 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.522e-05/0.4217, allocations: 6.688 kB / 459.6 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.4218, allocations: 8.859 kB / 459.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.322e-05/0.4218, allocations: 7.156 kB / 459.7 MB, free: 38.23 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.4223, allocations: 340.5 kB / 460 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.4223, allocations: 6.719 kB / 460 MB, free: 38.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.4224, allocations: 35.72 kB / 460 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002792/0.4226, allocations: 136.6 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4226, allocations: 0.6875 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4227, allocations: 0.5938 kB / 460.2 MB, free: 38.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.4227, allocations: 0 / 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.0004147/0.4231, allocations: 346.5 kB / 460.5 MB, free: 37.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.4231, allocations: 15.72 kB / 460.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.4232, allocations: 2.188 kB / 460.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.75e-05/0.4233, allocations: 172.8 kB / 460.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4233, allocations: 3.125 kB / 460.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.4233, allocations: 3.75 kB / 460.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006082/0.4239, allocations: 121.5 kB / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.424, allocations: 4.125 kB / 460.8 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.819e-05/0.424, allocations: 11.5 kB / 460.8 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.424, allocations: 0 / 460.8 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.4245, allocations: 88.53 kB / 460.9 MB, free: 37.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.4247, allocations: 163.4 kB / 461.1 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.4253, allocations: 126.4 kB / 461.2 MB, free: 37.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.773e-05/0.4253, allocations: 21.64 kB / 461.2 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003486/0.4257, allocations: 119 kB / 461.3 MB, free: 37.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.4257, allocations: 30.56 kB / 461.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.4257, allocations: 0.5938 kB / 461.4 MB, free: 37.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.004701/0.4304, allocations: 1.088 MB / 462.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4305, allocations: 58.41 kB / 462.5 MB, free: 36.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.064e-05/0.4305, allocations: 100.7 kB / 462.6 MB, free: 36.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4306, allocations: 25.7 kB / 462.6 MB, free: 36.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.336e-05/0.4306, allocations: 87.11 kB / 462.7 MB, free: 36.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.4306, allocations: 26.8 kB / 462.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.4307, allocations: 16.66 kB / 462.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.998e-05/0.4307, allocations: 310.8 kB / 463.1 MB, free: 36.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.431, allocations: 71.95 kB / 463.1 MB, free: 36.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.4312, allocations: 81.59 kB / 463.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005052/0.4318, allocations: 142.8 kB / 463.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4318, allocations: 0 / 463.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005632/0.4323, allocations: 183.9 kB / 463.5 MB, free: 36.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.4324, allocations: 9.844 kB / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.4324, allocations: 0.8125 kB / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4324, allocations: 0 / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002227/0.4326, allocations: 54.27 kB / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.4327, allocations: 0 / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001609/0.4328, allocations: 26.83 kB / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/0.4328, allocations: 2.812 kB / 463.6 MB, free: 36.23 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 6.293e-05/0.4329, allocations: 113.7 kB / 463.7 MB, free: 36.11 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.4329, allocations: 9.938 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.433, allocations: 13.94 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.433, allocations: 1 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.433, allocations: 0 / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.433, allocations: 0 / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009172/0.4339, allocations: 471 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.434, allocations: 6.875 kB / 464.2 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.4342, allocations: 40.75 kB / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.4342, allocations: 3.031 kB / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4342, allocations: 0.7031 kB / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4342, allocations: 0 / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.4342, allocations: 4.281 kB / 464.3 MB, free: 35.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008393/0.4351, allocations: 368.1 kB / 464.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.4351, allocations: 84.94 kB / 464.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4351, allocations: 2.938 kB / 464.7 MB, free: 35.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.4353, allocations: 30.69 kB / 464.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.4354, allocations: 9.719 kB / 464.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.4354, allocations: 2.875 kB / 464.8 MB, free: 35.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.527e-05/0.4354, allocations: 79.92 kB / 464.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4354, allocations: 0 / 464.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000231/0.4357, allocations: 15.38 kB / 464.9 MB, free: 35.45 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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 9.528e-05/0.4358, allocations: 98.62 kB / 465 MB, free: 35.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005875/0.4364, allocations: 156.2 kB / 465.1 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4364, allocations: 0 / 465.1 MB, free: 35.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.4367, allocations: 80.55 kB / 465.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.4369, allocations: 12.31 kB / 465.2 MB, free: 35.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00116/0.4381, allocations: 397.7 kB / 465.6 MB, free: 35.16 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001488/0.4382, allocations: 0.683 MB / 466.3 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.868e-05/0.4383, allocations: 14.66 kB / 466.3 MB, free: 34.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.071e-05/0.4384, allocations: 14.89 kB / 466.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4384, allocations: 0 / 466.3 MB, free: 34.45 MB / 382.1 MB Notification: Performance of Templates: time 0.003012/0.4414, allocations: 0.7783 MB / 467.1 MB, free: 34.42 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) Environment - environmentSimulation: