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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 109.8 kB / 18.84 MB, free: 3.016 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.002436/0.002436, allocations: 191.1 kB / 22.11 MB, free: 4.625 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.645/1.645, allocations: 207.6 MB / 232.8 MB, free: 10.01 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.2936/0.2936, allocations: 55.68 MB / 340.7 MB, free: 13.97 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,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=2500,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.002327/0.002327, allocations: 74.19 kB / 482.1 MB, free: 6.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.391, allocations: 62.87 MB / 0.5322 GB, free: 7.941 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002753/0.3938, allocations: 1.279 MB / 0.5334 GB, free: 7.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.3948, allocations: 0.543 MB / 0.5339 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.355e-05/0.3948, allocations: 0 / 0.5339 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.3948, allocations: 0.8438 kB / 0.5339 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.859e-05/0.3949, allocations: 5.781 kB / 0.5339 GB, free: 6.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.3954, allocations: 129.9 kB / 0.5341 GB, free: 6.617 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.3955, allocations: 25.72 kB / 0.5341 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.3956, allocations: 2.75 kB / 0.5341 GB, free: 6.609 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.3956, allocations: 24.72 kB / 0.5341 GB, free: 6.594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.725e-05/0.3957, allocations: 15.28 kB / 0.5341 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.3957, allocations: 2.312 kB / 0.5341 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006342/0.3964, allocations: 324.6 kB / 0.5344 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 2.226e-05/0.3964, allocations: 3.594 kB / 0.5344 GB, free: 6.508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.745e-05/0.3964, allocations: 23.2 kB / 0.5345 GB, free: 6.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.3968, allocations: 140.8 kB / 0.5346 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.989e-06/0.3968, allocations: 0 / 0.5346 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.3968, allocations: 0 / 0.5346 GB, free: 6.457 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3968, allocations: 0.8906 kB / 0.5346 GB, free: 6.457 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.0005802/0.3974, allocations: 288.7 kB / 0.5349 GB, free: 6.168 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.715e-05/0.3975, allocations: 9.406 kB / 0.5349 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.603e-05/0.3975, allocations: 3.25 kB / 0.5349 GB, free: 6.168 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001527/0.3977, allocations: 122.5 kB / 0.535 GB, free: 6.027 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.3977, allocations: 9.578 kB / 0.535 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.3977, allocations: 3.781 kB / 0.535 GB, free: 6.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/0.3983, allocations: 83.94 kB / 0.5351 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3983, allocations: 192 / 0.5351 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.3983, allocations: 5 kB / 0.5351 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.3983, allocations: 1.797 kB / 0.5351 GB, free: 5.973 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003033/0.3986, allocations: 55.3 kB / 0.5352 GB, free: 5.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.3988, allocations: 134.1 kB / 0.5353 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.3992, allocations: 87.25 kB / 0.5354 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/0.3993, allocations: 32.02 kB / 0.5354 GB, free: 5.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.3995, allocations: 31.61 kB / 0.5354 GB, free: 5.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3996, allocations: 33.09 kB / 0.5355 GB, free: 5.699 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3996, allocations: 0 / 0.5355 GB, free: 5.699 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.00532/0.4049, allocations: 0.9969 MB / 0.5364 GB, free: 5.332 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.873e-05/0.4049, allocations: 53.38 kB / 0.5365 GB, free: 5.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.022e-05/0.405, allocations: 97.83 kB / 0.5366 GB, free: 5.168 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.405, allocations: 34.67 kB / 0.5366 GB, free: 5.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.258e-05/0.405, allocations: 81.86 kB / 0.5367 GB, free: 5.047 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.4051, allocations: 35.47 kB / 0.5367 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.107e-05/0.4051, allocations: 28.03 kB / 0.5367 GB, free: 4.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 5.722e-05/0.4052, allocations: 322.9 kB / 0.5371 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.4054, allocations: 56.47 kB / 0.5371 GB, free: 4.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.4056, allocations: 65.88 kB / 0.5372 GB, free: 4.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.406, allocations: 114.2 kB / 0.5373 GB, free: 4.617 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.406, allocations: 0 / 0.5373 GB, free: 4.617 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004724/0.4065, allocations: 174 kB / 0.5374 GB, free: 4.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.4065, allocations: 5.891 kB / 0.5375 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4065, allocations: 1.25 kB / 0.5375 GB, free: 4.543 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.4065, allocations: 4.75 kB / 0.5375 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.4068, allocations: 39.48 kB / 0.5375 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.4068, allocations: 1.25 kB / 0.5375 GB, free: 4.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.4069, allocations: 18 kB / 0.5375 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.407, allocations: 3.031 kB / 0.5375 GB, free: 4.531 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 7.551e-05/0.407, allocations: 113.2 kB / 0.5376 GB, free: 4.414 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.4071, allocations: 7.766 kB / 0.5376 GB, free: 4.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.4071, allocations: 12.67 kB / 0.5376 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4071, allocations: 1.406 kB / 0.5376 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4071, allocations: 1.375 kB / 0.5376 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4071, allocations: 0.8438 kB / 0.5376 GB, free: 4.398 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000793/0.4079, allocations: 414.6 kB / 0.538 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.4079, allocations: 0 / 0.538 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.4082, allocations: 35.02 kB / 0.5381 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.4082, allocations: 2.562 kB / 0.5381 GB, free: 4.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.4082, allocations: 4.984 kB / 0.5381 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4082, allocations: 1.781 kB / 0.5381 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4082, allocations: 0 / 0.5381 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.409, allocations: 336.8 kB / 0.5384 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.365e-05/0.409, allocations: 3.188 kB / 0.5384 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.409, allocations: 2.281 kB / 0.5384 GB, free: 3.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.4092, allocations: 20.33 kB / 0.5384 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.4093, allocations: 4.781 kB / 0.5384 GB, free: 3.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.4093, allocations: 4.234 kB / 0.5384 GB, free: 3.875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.581e-05/0.4093, allocations: 77.38 kB / 0.5385 GB, free: 3.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4093, allocations: 160 / 0.5385 GB, free: 3.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.4096, allocations: 24.84 kB / 0.5385 GB, free: 3.793 MB / 398.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 0.0001324/0.4097, allocations: 101.6 kB / 0.5386 GB, free: 3.703 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005443/0.4102, allocations: 131 kB / 0.5388 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4102, allocations: 0 / 0.5388 GB, free: 3.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.4105, allocations: 77.52 kB / 0.5388 GB, free: 3.656 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4107, allocations: 7.328 kB / 0.5388 GB, free: 3.652 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.4121, allocations: 416.8 kB / 0.5392 GB, free: 3.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.4123, allocations: 0.6896 MB / 0.5399 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.944e-05/0.4124, allocations: 14.53 kB / 0.5399 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.4124, allocations: 17.11 kB / 0.5399 GB, free: 2.691 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4124, allocations: 0 / 0.5399 GB, free: 2.691 MB / 398.1 MB Notification: Performance of Templates: time 0.004615/0.417, allocations: 0.9888 MB / 0.5409 GB, free: 2.617 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Annex60_1.0.0_Annex60.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.325266206637025] Failed to read output from testmodel.py, exit status != 0: 0.4268000517040491 0.44358632000000003 0.043174874 Calling exit ...