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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 190.2 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.621/1.621, allocations: 207.6 MB / 232.8 MB, free: 10.03 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3079/0.3079, allocations: 55.67 MB / 340.7 MB, free: 13.98 MB / 286.1 MB " [Timeout remaining time 179] 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=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "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.002498/0.002498, allocations: 74.23 kB / 482.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4139, allocations: 62.86 MB / 0.5321 GB, free: 7.891 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002678/0.4165, allocations: 1.287 MB / 0.5334 GB, free: 6.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.4176, allocations: 0.5387 MB / 0.5339 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.816e-05/0.4176, allocations: 0 / 0.5339 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.364e-05/0.4177, allocations: 1.531 kB / 0.5339 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.745e-05/0.4177, allocations: 4.5 kB / 0.5339 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005358/0.4182, allocations: 126.8 kB / 0.5341 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.384e-05/0.4183, allocations: 33.3 kB / 0.5341 GB, free: 6.555 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.339e-05/0.4184, allocations: 6.469 kB / 0.5341 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.305e-05/0.4184, allocations: 12.3 kB / 0.5341 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.218e-05/0.4185, allocations: 11.83 kB / 0.5341 GB, free: 6.543 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.788e-05/0.4185, allocations: 6.062 kB / 0.5341 GB, free: 6.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006001/0.4191, allocations: 321.2 kB / 0.5344 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.522e-05/0.4191, allocations: 10.67 kB / 0.5344 GB, free: 6.457 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.159e-05/0.4192, allocations: 14.61 kB / 0.5345 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003661/0.4195, allocations: 140.5 kB / 0.5346 GB, free: 6.414 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4195, allocations: 0 / 0.5346 GB, free: 6.414 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4195, allocations: 1.031 kB / 0.5346 GB, free: 6.414 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.4195, allocations: 4.75 kB / 0.5346 GB, free: 6.41 MB / 398.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.0004331/0.42, allocations: 291.8 kB / 0.5349 GB, free: 6.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.42, allocations: 9.031 kB / 0.5349 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.4201, allocations: 3.562 kB / 0.5349 GB, free: 6.117 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.884e-05/0.4201, allocations: 114.6 kB / 0.535 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.4202, allocations: 1.625 kB / 0.535 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.4202, allocations: 11.83 kB / 0.535 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006669/0.4209, allocations: 129.5 kB / 0.5351 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4209, allocations: 1.219 kB / 0.5351 GB, free: 5.926 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.4209, allocations: 5.719 kB / 0.5351 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4209, allocations: 0 / 0.5351 GB, free: 5.922 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004895/0.4214, allocations: 91.11 kB / 0.5352 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.4215, allocations: 138 kB / 0.5354 GB, free: 5.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/0.422, allocations: 126.9 kB / 0.5355 GB, free: 5.711 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.179e-05/0.4221, allocations: 27.83 kB / 0.5355 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.4224, allocations: 33.31 kB / 0.5355 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.4224, allocations: 36.31 kB / 0.5356 GB, free: 5.648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.4224, allocations: 3.938 kB / 0.5356 GB, free: 5.645 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.008683/0.4311, allocations: 1.652 MB / 0.5372 GB, free: 5.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.4311, allocations: 56.88 kB / 0.5372 GB, free: 5.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.143e-05/0.4312, allocations: 93.97 kB / 0.5373 GB, free: 5.086 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4312, allocations: 31.42 kB / 0.5374 GB, free: 5.051 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.253e-05/0.4312, allocations: 80.67 kB / 0.5374 GB, free: 4.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.894e-05/0.4313, allocations: 35.89 kB / 0.5375 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.4313, allocations: 29.69 kB / 0.5375 GB, free: 4.918 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.4314, allocations: 314.4 kB / 0.5378 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.4319, allocations: 102.7 kB / 0.5379 GB, free: 4.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004461/0.4323, allocations: 103.9 kB / 0.538 GB, free: 4.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008476/0.4332, allocations: 205.9 kB / 0.5382 GB, free: 4.535 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4332, allocations: 0 / 0.5382 GB, free: 4.535 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0009489/0.4341, allocations: 263.5 kB / 0.5384 GB, free: 4.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4341, allocations: 4.906 kB / 0.5384 GB, free: 4.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4341, allocations: 5.094 kB / 0.5385 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4342, allocations: 1.625 kB / 0.5385 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004216/0.4346, allocations: 59.83 kB / 0.5385 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.4346, allocations: 1.344 kB / 0.5385 GB, free: 4.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002859/0.4349, allocations: 43.86 kB / 0.5386 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4349, allocations: 3.828 kB / 0.5386 GB, free: 4.441 MB / 398.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 9.638e-05/0.435, allocations: 116.8 kB / 0.5387 GB, free: 4.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.435, allocations: 6.781 kB / 0.5387 GB, free: 4.316 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.4351, allocations: 13.66 kB / 0.5387 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.4351, allocations: 1.625 kB / 0.5387 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.4351, allocations: 1.703 kB / 0.5387 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4351, allocations: 0.7969 kB / 0.5387 GB, free: 4.305 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.4364, allocations: 0.4976 MB / 0.5392 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.4364, allocations: 0.5 kB / 0.5392 GB, free: 3.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.4368, allocations: 61 kB / 0.5392 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.4368, allocations: 0 / 0.5392 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.4368, allocations: 2.672 kB / 0.5392 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4368, allocations: 1.156 kB / 0.5392 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4368, allocations: 0.7969 kB / 0.5392 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.4383, allocations: 466 kB / 0.5397 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.4383, allocations: 2.734 kB / 0.5397 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.4383, allocations: 10.09 kB / 0.5397 GB, free: 3.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003234/0.4387, allocations: 40.19 kB / 0.5397 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.4387, allocations: 6.266 kB / 0.5397 GB, free: 3.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4387, allocations: 5 kB / 0.5397 GB, free: 3.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.387e-05/0.4387, allocations: 88.97 kB / 0.5398 GB, free: 3.684 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4387, allocations: 1.188 kB / 0.5398 GB, free: 3.684 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.439, allocations: 18.53 kB / 0.5399 GB, free: 3.684 MB / 398.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.0001068/0.4391, allocations: 101.6 kB / 0.5399 GB, free: 3.594 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009275/0.44, allocations: 221.8 kB / 0.5402 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.44, allocations: 0 / 0.5402 GB, free: 3.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000426/0.4405, allocations: 112.7 kB / 0.5403 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.4407, allocations: 7.172 kB / 0.5403 GB, free: 3.547 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.4428, allocations: 0.5777 MB / 0.5408 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001199/0.4429, allocations: 0.6902 MB / 0.5415 GB, free: 2.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.4431, allocations: 15.69 kB / 0.5415 GB, free: 2.59 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.172e-05/0.4431, allocations: 23.61 kB / 0.5415 GB, free: 2.574 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4431, allocations: 0 / 0.5415 GB, free: 2.574 MB / 398.1 MB Notification: Performance of Templates: time 0.004092/0.4472, allocations: 1.21 MB / 0.5427 GB, free: 2.488 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.4081155536696315] Failed to read output from testmodel.py, exit status != 0: 0.4552337024360895 0.46966368199999997 0.046550142 Calling exit ...