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.001352/0.001352, allocations: 112.5 kB / 17.13 MB, free: 5.914 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.001474/0.001474, allocations: 198 kB / 20.08 MB, free: 2.977 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.465/1.465, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.092/1.092, allocations: 175.7 MB / 479.1 MB, free: 3.449 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.001935/0.001935, allocations: 76.86 kB / 0.6664 GB, free: 11.11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1996, allocations: 94.53 MB / 0.7587 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002548/0.2021, allocations: 1.263 MB / 0.7599 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001073/0.2032, allocations: 0.6132 MB / 0.7605 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.2032, allocations: 0 / 0.7605 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.966e-05/0.2032, allocations: 3.938 kB / 0.7605 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.888e-05/0.2033, allocations: 0 / 0.7605 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005521/0.2038, allocations: 150.1 kB / 0.7607 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.2039, allocations: 23.86 kB / 0.7607 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.2039, allocations: 3.984 kB / 0.7607 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.338e-05/0.204, allocations: 4 kB / 0.7607 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.594e-05/0.204, allocations: 15.92 kB / 0.7607 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.2041, allocations: 0 / 0.7607 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005391/0.2046, allocations: 343.3 kB / 0.761 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2046, allocations: 3.984 kB / 0.761 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.537e-05/0.2046, allocations: 7.938 kB / 0.761 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.2049, allocations: 147.6 kB / 0.7612 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2049, allocations: 0 / 0.7612 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2049, allocations: 3.938 kB / 0.7612 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.2049, allocations: 0 / 0.7612 GB, free: 14.64 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.0004912/0.2054, allocations: 363.1 kB / 0.7615 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2054, allocations: 12.03 kB / 0.7615 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.464e-05/0.2055, allocations: 4.922 kB / 0.7615 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.2056, allocations: 168.3 kB / 0.7617 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2057, allocations: 4.375 kB / 0.7617 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.2057, allocations: 4.375 kB / 0.7617 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.2058, allocations: 53.56 kB / 0.7618 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.2058, allocations: 0 / 0.7618 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.2058, allocations: 0 / 0.7618 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2058, allocations: 0 / 0.7618 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.346e-05/0.2059, allocations: 11.98 kB / 0.7618 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/0.2061, allocations: 161.6 kB / 0.7619 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2063, allocations: 46.55 kB / 0.762 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.782e-05/0.2063, allocations: 16.86 kB / 0.762 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.2063, allocations: 3.938 kB / 0.762 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.2064, allocations: 34.64 kB / 0.762 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2064, allocations: 0 / 0.762 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006683/0.207, allocations: 302.3 kB / 0.7623 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2071, allocations: 51.41 kB / 0.7624 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.926e-05/0.2072, allocations: 106.3 kB / 0.7625 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.743e-05/0.2072, allocations: 29.64 kB / 0.7625 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.921e-05/0.2072, allocations: 80.14 kB / 0.7626 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.2073, allocations: 23.8 kB / 0.7626 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.2073, allocations: 17.72 kB / 0.7626 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.2075, allocations: 314.8 kB / 0.7629 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.2075, allocations: 12 kB / 0.7629 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.2075, allocations: 15.98 kB / 0.7629 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.796e-05/0.2076, allocations: 32.8 kB / 0.763 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.42e-07/0.2076, allocations: 3.938 kB / 0.763 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001049/0.2077, allocations: 77.75 kB / 0.763 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.2077, allocations: 8 kB / 0.7631 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2077, allocations: 0 / 0.7631 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2077, allocations: 0 / 0.7631 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.865e-05/0.2078, allocations: 8 kB / 0.7631 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.2078, allocations: 0 / 0.7631 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.2078, allocations: 4 kB / 0.7631 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.2078, allocations: 0 / 0.7631 GB, free: 12.45 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.641e-05/0.2079, allocations: 125.7 kB / 0.7632 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.401e-05/0.2079, allocations: 11.98 kB / 0.7632 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.208, allocations: 65.66 kB / 0.7633 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.208, allocations: 0 / 0.7633 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.79e-06/0.208, allocations: 8.125 kB / 0.7633 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2081, allocations: 0 / 0.7633 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003603/0.2084, allocations: 315.3 kB / 0.7636 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2084, allocations: 4.031 kB / 0.7636 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.2085, allocations: 12 kB / 0.7636 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.2085, allocations: 4 kB / 0.7636 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2085, allocations: 0 / 0.7636 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.2085, allocations: 0 / 0.7636 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2085, allocations: 0 / 0.7636 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.2087, allocations: 188.2 kB / 0.7638 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.801e-05/0.2088, allocations: 81.17 kB / 0.7638 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2088, allocations: 8.016 kB / 0.7639 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.2088, allocations: 0 / 0.7639 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.2089, allocations: 8 kB / 0.7639 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.2089, allocations: 0 / 0.7639 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.347e-05/0.2089, allocations: 83.22 kB / 0.7639 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2089, allocations: 0 / 0.7639 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002468/0.2092, allocations: 23.92 kB / 0.764 GB, free: 11.4 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.0002025/0.2094, allocations: 132.8 kB / 0.7641 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001185/0.2095, allocations: 27.92 kB / 0.7641 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.2095, allocations: 4 kB / 0.7641 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.2095, allocations: 23.81 kB / 0.7641 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.2097, allocations: 8 kB / 0.7641 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.2102, allocations: 222.1 kB / 0.7644 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.2105, allocations: 0.6768 MB / 0.765 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.911e-05/0.2105, allocations: 11.44 kB / 0.765 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.2105, allocations: 0 / 0.765 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of Templates: time 0.00254/0.2131, allocations: 0.7966 MB / 0.7658 GB, free: 9.441 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 os._exit(0), Time elapsed: 8.542098846053705] Failed to read output from testmodel.py, exit status != 0: 0.22077322797849774 0.23456384600000002 0.026824116000000002 Calling exit ...