Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.001453/0.001453, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.001522/0.001522, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.517/1.517, allocations: 225.6 MB / 248.5 MB, free: 3.637 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.127/1.127, allocations: 175.7 MB / 479.1 MB, free: 3.43 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 67.55 kB / 0.6663 GB, free: 10.81 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1957, allocations: 94.54 MB / 0.7587 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.002699/0.1984, allocations: 1.27 MB / 0.7599 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1995, allocations: 0.6132 MB / 0.7605 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.1996, allocations: 0 / 0.7605 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.486e-05/0.1996, allocations: 3.938 kB / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.747e-05/0.1996, allocations: 4 kB / 0.7605 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005506/0.2002, allocations: 147.4 kB / 0.7607 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.613e-05/0.2002, allocations: 19.88 kB / 0.7607 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.2003, allocations: 4 kB / 0.7607 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.116e-05/0.2003, allocations: 19.92 kB / 0.7607 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.269e-05/0.2004, allocations: 11.92 kB / 0.7607 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.2004, allocations: 0 / 0.7607 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005332/0.2009, allocations: 335.4 kB / 0.761 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.2009, allocations: 0 / 0.761 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.155e-05/0.201, allocations: 19.91 kB / 0.7611 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.2012, allocations: 143.6 kB / 0.7612 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2013, allocations: 3.938 kB / 0.7612 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.2013, allocations: 0 / 0.7612 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2013, allocations: 0 / 0.7612 GB, free: 14.5 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.0004949/0.2018, allocations: 367.1 kB / 0.7615 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2018, allocations: 8.031 kB / 0.7616 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.685e-05/0.2018, allocations: 0.9375 kB / 0.7616 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.202, allocations: 172.3 kB / 0.7617 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.202, allocations: 384 / 0.7617 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.202, allocations: 4.375 kB / 0.7617 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.2021, allocations: 41.62 kB / 0.7618 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.2021, allocations: 0 / 0.7618 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.2021, allocations: 0 / 0.7618 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2021, allocations: 8 kB / 0.7618 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.086e-05/0.2022, allocations: 11.98 kB / 0.7618 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002035/0.2024, allocations: 157.7 kB / 0.7619 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.2026, allocations: 46.5 kB / 0.762 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.429e-05/0.2026, allocations: 16.86 kB / 0.762 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.2027, allocations: 3.938 kB / 0.762 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.683e-05/0.2027, allocations: 42.56 kB / 0.762 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.2027, allocations: 0 / 0.762 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0006945/0.2034, allocations: 310.7 kB / 0.7623 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.2034, allocations: 51.41 kB / 0.7624 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.794e-05/0.2035, allocations: 97.86 kB / 0.7625 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.2035, allocations: 25.7 kB / 0.7625 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.2036, allocations: 84.14 kB / 0.7626 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2036, allocations: 23.78 kB / 0.7626 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.2036, allocations: 25.66 kB / 0.7626 GB, free: 12.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2038, allocations: 322.8 kB / 0.7629 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.159e-05/0.2038, allocations: 7.984 kB / 0.7629 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.438e-05/0.2038, allocations: 12 kB / 0.763 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.478e-05/0.2039, allocations: 36.8 kB / 0.763 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.2039, allocations: 0 / 0.763 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001051/0.204, allocations: 65.62 kB / 0.7631 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.204, allocations: 4 kB / 0.7631 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.204, allocations: 4 kB / 0.7631 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.204, allocations: 0 / 0.7631 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.808e-05/0.2041, allocations: 19.92 kB / 0.7631 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2041, allocations: 0 / 0.7631 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.837e-05/0.2041, allocations: 0 / 0.7631 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.2041, allocations: 4 kB / 0.7631 GB, free: 12.29 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.075e-05/0.2042, allocations: 113.8 kB / 0.7632 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.2042, allocations: 3.953 kB / 0.7632 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.2044, allocations: 77.64 kB / 0.7633 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2044, allocations: 4 kB / 0.7633 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.2044, allocations: 0 / 0.7633 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.2044, allocations: 0 / 0.7633 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003695/0.2048, allocations: 315.3 kB / 0.7636 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2048, allocations: 192 / 0.7636 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.2048, allocations: 23.92 kB / 0.7636 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2048, allocations: 0 / 0.7636 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.2048, allocations: 4 kB / 0.7636 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.2049, allocations: 0 / 0.7636 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2049, allocations: 4.031 kB / 0.7636 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.2051, allocations: 176.3 kB / 0.7638 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.2051, allocations: 85.12 kB / 0.7639 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/0.2051, allocations: 0 / 0.7639 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/0.2052, allocations: 8 kB / 0.7639 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.2052, allocations: 3.984 kB / 0.7639 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/0.2052, allocations: 8.062 kB / 0.7639 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.579e-05/0.2053, allocations: 79.22 kB / 0.7639 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2053, allocations: 0 / 0.7639 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002552/0.2055, allocations: 27.88 kB / 0.764 GB, free: 11.25 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (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.0002048/0.2057, allocations: 119.1 kB / 0.7641 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000117/0.2059, allocations: 32.22 kB / 0.7641 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2059, allocations: 3.938 kB / 0.7641 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-05/0.2059, allocations: 23.92 kB / 0.7641 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.2061, allocations: 4.062 kB / 0.7641 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005151/0.2066, allocations: 230.1 kB / 0.7644 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.207, allocations: 0.6845 MB / 0.765 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.207, allocations: 11.44 kB / 0.765 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.207, allocations: 0 / 0.765 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.002774/0.2098, allocations: 0.8012 MB / 0.7658 GB, free: 9.293 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.512178709032014] Failed to read output from testmodel.py, exit status != 0: 0.2182869389653206 0.23261051400000002 0.028451999000000002 Calling exit ...