Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001633/0.001633, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001865/0.001865, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 175.7 MB / 480.2 MB, free: 3.121 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 64.14 kB / 0.6684 GB, free: 10.64 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1905, allocations: 94.54 MB / 0.7607 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002854/0.1933, allocations: 1.475 MB / 0.7621 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1945, allocations: 0.6344 MB / 0.7628 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.281e-05/0.1946, allocations: 0 / 0.7628 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.1946, allocations: 3.984 kB / 0.7628 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.93e-05/0.1947, allocations: 11.88 kB / 0.7628 GB, free: 14.13 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1952, allocations: 155.4 kB / 0.7629 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.885e-05/0.1953, allocations: 47.91 kB / 0.763 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.802e-05/0.1953, allocations: 11.88 kB / 0.763 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.1954, allocations: 19.97 kB / 0.763 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.731e-05/0.1954, allocations: 27.86 kB / 0.763 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.1955, allocations: 4 kB / 0.763 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005142/0.196, allocations: 347.3 kB / 0.7634 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.196, allocations: 15.98 kB / 0.7634 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.196, allocations: 23.88 kB / 0.7634 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.1963, allocations: 179.4 kB / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1963, allocations: 0 / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1963, allocations: 0 / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.368e-06/0.1963, allocations: 0 / 0.7636 GB, free: 13.32 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006118/0.1969, allocations: 398.9 kB / 0.764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.197, allocations: 8.031 kB / 0.764 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.197, allocations: 12.83 kB / 0.764 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1972, allocations: 172.3 kB / 0.7641 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/0.1972, allocations: 8.375 kB / 0.7642 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.1972, allocations: 4.375 kB / 0.7642 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.1975, allocations: 85.58 kB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.1975, allocations: 0 / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.1975, allocations: 4 kB / 0.7642 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.1975, allocations: 3.984 kB / 0.7642 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.1977, allocations: 43.97 kB / 0.7643 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006411/0.1984, allocations: 332.6 kB / 0.7646 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/0.1987, allocations: 78.53 kB / 0.7647 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.1988, allocations: 28.84 kB / 0.7647 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.937e-05/0.1988, allocations: 4 kB / 0.7647 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.1989, allocations: 34.5 kB / 0.7647 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1989, allocations: 0 / 0.7647 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001987/0.2008, allocations: 0.6579 MB / 0.7654 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.2009, allocations: 51.41 kB / 0.7654 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.201, allocations: 101.8 kB / 0.7655 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.201, allocations: 29.7 kB / 0.7656 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.064e-05/0.2011, allocations: 84.09 kB / 0.7656 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.2012, allocations: 51.58 kB / 0.7657 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-05/0.2012, allocations: 29.7 kB / 0.7657 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2013, allocations: 314.8 kB / 0.766 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.2015, allocations: 35.97 kB / 0.7661 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.2016, allocations: 31.86 kB / 0.7661 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.2018, allocations: 72.83 kB / 0.7662 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.2018, allocations: 0 / 0.7662 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003195/0.2022, allocations: 121.6 kB / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.2022, allocations: 4 kB / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.2022, allocations: 0 / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2022, allocations: 3.938 kB / 0.7663 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.2023, allocations: 27.97 kB / 0.7663 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.2024, allocations: 4 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.953e-05/0.2024, allocations: 4 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.2024, allocations: 4 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB 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 8.982e-05/0.2025, allocations: 125.7 kB / 0.7664 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.2025, allocations: 11.94 kB / 0.7664 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.2029, allocations: 121.7 kB / 0.7666 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.2029, allocations: 3.938 kB / 0.7666 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.2029, allocations: 4 kB / 0.7666 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.2029, allocations: 0 / 0.7666 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.2036, allocations: 390.6 kB / 0.7669 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2036, allocations: 3.938 kB / 0.7669 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.2037, allocations: 27.98 kB / 0.767 GB, free: 9.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2037, allocations: 4 kB / 0.767 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2037, allocations: 0 / 0.767 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2037, allocations: 0 / 0.767 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2037, allocations: 96 / 0.767 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005195/0.2043, allocations: 259.2 kB / 0.7672 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.016e-05/0.2043, allocations: 93.2 kB / 0.7673 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.2043, allocations: 0 / 0.7673 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.2045, allocations: 15.98 kB / 0.7673 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.2045, allocations: 7.984 kB / 0.7673 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2045, allocations: 4 kB / 0.7673 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.809e-05/0.2045, allocations: 79.28 kB / 0.7674 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2045, allocations: 64 / 0.7674 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003089/0.2048, allocations: 43.86 kB / 0.7675 GB, free: 8.922 MB / 0.5762 GB 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.0002607/0.2051, allocations: 135.1 kB / 0.7676 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003824/0.2055, allocations: 83.88 kB / 0.7677 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2055, allocations: 0 / 0.7677 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.2056, allocations: 39.92 kB / 0.7677 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.206, allocations: 19.92 kB / 0.7677 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007383/0.2067, allocations: 317.2 kB / 0.768 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003086/0.207, allocations: 0.6924 MB / 0.7687 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.408e-05/0.2071, allocations: 12.67 kB / 0.7687 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.2071, allocations: 11.44 kB / 0.7687 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.2071, allocations: 0 / 0.7687 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of Templates: time 0.004176/0.2113, allocations: 1.17 MB / 0.7699 GB, free: 6.43 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.055234581232071]