Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001326/0.001326, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.447/1.447, allocations: 225.6 MB / 249.4 MB, free: 3.332 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.136/1.136, allocations: 175.7 MB / 480.2 MB, free: 2.77 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 68.52 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1887, allocations: 94.53 MB / 0.7607 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002453/0.1911, allocations: 1.268 MB / 0.7619 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1922, allocations: 0.6136 MB / 0.7625 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.27e-05/0.1923, allocations: 0 / 0.7625 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.333e-05/0.1923, allocations: 11.92 kB / 0.7625 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.1923, allocations: 0 / 0.7625 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005211/0.1928, allocations: 143.4 kB / 0.7627 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.145e-05/0.1929, allocations: 27.84 kB / 0.7627 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.193, allocations: 8 kB / 0.7627 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.71e-05/0.193, allocations: 4 kB / 0.7627 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.434e-05/0.193, allocations: 11.94 kB / 0.7627 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1931, allocations: 0 / 0.7627 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005217/0.1936, allocations: 347.3 kB / 0.7631 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.1936, allocations: 7.984 kB / 0.7631 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.557e-05/0.1936, allocations: 11.94 kB / 0.7631 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.1939, allocations: 139.6 kB / 0.7632 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.1939, allocations: 4 kB / 0.7632 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1939, allocations: 0 / 0.7632 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1939, allocations: 3.938 kB / 0.7632 GB, free: 13.67 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005225/0.1944, allocations: 367 kB / 0.7636 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1945, allocations: 8.031 kB / 0.7636 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.1945, allocations: 4.938 kB / 0.7636 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001591/0.1947, allocations: 164.4 kB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1947, allocations: 384 / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.1947, allocations: 8.328 kB / 0.7637 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.1948, allocations: 45.56 kB / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1948, allocations: 0 / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1949, allocations: 0 / 0.7638 GB, free: 13 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1949, allocations: 4 kB / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.1949, allocations: 11.98 kB / 0.7638 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.1951, allocations: 153.7 kB / 0.764 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1954, allocations: 50.5 kB / 0.764 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/0.1954, allocations: 12.86 kB / 0.764 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1954, allocations: 3.938 kB / 0.764 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1955, allocations: 38.66 kB / 0.7641 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1955, allocations: 0 / 0.7641 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0007123/0.1962, allocations: 302.3 kB / 0.7643 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1962, allocations: 51.41 kB / 0.7644 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.843e-05/0.1963, allocations: 98.19 kB / 0.7645 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1963, allocations: 25.7 kB / 0.7645 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.1964, allocations: 88.12 kB / 0.7646 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/0.1964, allocations: 19.8 kB / 0.7646 GB, free: 12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.1965, allocations: 21.72 kB / 0.7646 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.1966, allocations: 322.8 kB / 0.7649 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.1966, allocations: 7.938 kB / 0.7649 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.449e-05/0.1967, allocations: 15.98 kB / 0.765 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.896e-05/0.1967, allocations: 44.92 kB / 0.765 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1967, allocations: 64 / 0.765 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001196/0.1969, allocations: 77.7 kB / 0.7651 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1969, allocations: 4 kB / 0.7651 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1969, allocations: 0 / 0.7651 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.1969, allocations: 3.984 kB / 0.7651 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.197, allocations: 12 kB / 0.7651 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.197, allocations: 4 kB / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.197, allocations: 0 / 0.7651 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.197, allocations: 4 kB / 0.7651 GB, free: 11.47 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 (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 9.52e-05/0.1971, allocations: 117.7 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.472e-05/0.1971, allocations: 7.984 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.1973, allocations: 65.66 kB / 0.7653 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.1973, allocations: 0 / 0.7653 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1973, allocations: 0 / 0.7653 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1973, allocations: 0 / 0.7653 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/0.1977, allocations: 319.4 kB / 0.7656 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1977, allocations: 7.984 kB / 0.7656 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.1977, allocations: 8 kB / 0.7656 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1977, allocations: 0 / 0.7656 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.1978, allocations: 4 kB / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.1978, allocations: 0 / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.1978, allocations: 0 / 0.7656 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.198, allocations: 188.2 kB / 0.7658 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.503e-05/0.1981, allocations: 81.14 kB / 0.7659 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1981, allocations: 0 / 0.7659 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.1981, allocations: 12.17 kB / 0.7659 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.1982, allocations: 4 kB / 0.7659 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.1982, allocations: 4 kB / 0.7659 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.1982, allocations: 79.22 kB / 0.766 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1982, allocations: 4 kB / 0.766 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002571/0.1985, allocations: 24 kB / 0.766 GB, free: 10.44 MB / 0.5762 GB 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 0.0002133/0.1987, allocations: 127.1 kB / 0.7661 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000113/0.1988, allocations: 35.92 kB / 0.7661 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1988, allocations: 0 / 0.7661 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.787e-05/0.1988, allocations: 15.94 kB / 0.7662 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.199, allocations: 7.938 kB / 0.7662 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.1995, allocations: 196.1 kB / 0.7664 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/0.1998, allocations: 0.6768 MB / 0.767 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.1998, allocations: 11.94 kB / 0.767 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/0.1998, allocations: 11.44 kB / 0.767 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.1998, allocations: 0 / 0.767 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of Templates: time 0.003245/0.2031, allocations: 0.6553 MB / 0.7677 GB, free: 8.656 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.029953706078231]