Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001921/0.001921, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002731/0.002731, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.475/1.475, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.113/1.113, allocations: 177.9 MB / 484.2 MB, free: 5.383 MB / 382.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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 68.08 kB / 0.674 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6941, allocations: 95.16 MB / 0.7669 GB, free: 7.992 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00296/0.6971, allocations: 1.294 MB / 0.7682 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.6983, allocations: 0.6105 MB / 0.7688 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.6984, allocations: 0 / 0.7688 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.71e-05/0.6984, allocations: 8.594 kB / 0.7688 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 4.576e-05/0.6984, allocations: 2.047 kB / 0.7688 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007041/0.6991, allocations: 146.1 kB / 0.7689 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.653e-05/0.6992, allocations: 33.12 kB / 0.769 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 6.566e-05/0.6993, allocations: 8.859 kB / 0.769 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.044e-05/0.6993, allocations: 11 kB / 0.769 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.456e-05/0.6994, allocations: 14.83 kB / 0.769 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.6994, allocations: 2.094 kB / 0.769 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005414/0.7, allocations: 343.7 kB / 0.7693 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.7, allocations: 6.297 kB / 0.7693 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.7, allocations: 16.7 kB / 0.7693 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.7003, allocations: 152.8 kB / 0.7695 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.7003, allocations: 0.9375 kB / 0.7695 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.144e-06/0.7003, allocations: 0 / 0.7695 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.755e-06/0.7003, allocations: 1.312 kB / 0.7695 GB, free: 6.695 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003984/0.7007, allocations: 295.3 kB / 0.7698 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7008, allocations: 16.92 kB / 0.7698 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.7008, allocations: 3.219 kB / 0.7698 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.169e-05/0.7009, allocations: 116.7 kB / 0.7699 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.7009, allocations: 2.562 kB / 0.7699 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.7009, allocations: 3.594 kB / 0.7699 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.701, allocations: 52.45 kB / 0.77 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.7011, allocations: 3.953 kB / 0.77 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.7011, allocations: 1.094 kB / 0.77 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.7011, allocations: 1.031 kB / 0.77 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.377e-05/0.7011, allocations: 18.7 kB / 0.77 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.7013, allocations: 143.3 kB / 0.7701 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.7014, allocations: 60.27 kB / 0.7702 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.7014, allocations: 26.41 kB / 0.7702 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.7015, allocations: 5.344 kB / 0.7702 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.482e-05/0.7015, allocations: 32.09 kB / 0.7702 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.7015, allocations: 0 / 0.7702 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of matching and sorting (n=11): time 0.001219/0.7027, allocations: 454.8 kB / 0.7707 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.7027, allocations: 55.17 kB / 0.7707 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.7028, allocations: 100 kB / 0.7708 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.7028, allocations: 27.08 kB / 0.7708 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.601e-05/0.7028, allocations: 85.77 kB / 0.7709 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.979e-05/0.7029, allocations: 39.22 kB / 0.771 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.7029, allocations: 33.19 kB / 0.771 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/0.703, allocations: 317.8 kB / 0.7713 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.7031, allocations: 25.33 kB / 0.7713 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.814e-05/0.7031, allocations: 19.56 kB / 0.7713 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.7032, allocations: 58.58 kB / 0.7714 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.7032, allocations: 0.875 kB / 0.7714 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001842/0.7034, allocations: 101.3 kB / 0.7715 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.7034, allocations: 9.188 kB / 0.7715 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7035, allocations: 0 / 0.7715 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.7035, allocations: 0.9375 kB / 0.7715 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.7036, allocations: 28.58 kB / 0.7715 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.7036, allocations: 0.5938 kB / 0.7715 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.443e-05/0.7036, allocations: 0.8438 kB / 0.7715 GB, free: 4.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.7036, allocations: 3.156 kB / 0.7715 GB, free: 4.836 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 7.927e-05/0.7037, allocations: 124.2 kB / 0.7717 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.7037, allocations: 3.531 kB / 0.7717 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.704, allocations: 113.6 kB / 0.7718 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.704, allocations: 1.094 kB / 0.7718 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.704, allocations: 0.7188 kB / 0.7718 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.704, allocations: 1.453 kB / 0.7718 GB, free: 4.633 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.7044, allocations: 331.1 kB / 0.7721 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.7044, allocations: 0.8125 kB / 0.7721 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.7045, allocations: 24.69 kB / 0.7721 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7045, allocations: 1.25 kB / 0.7721 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.7045, allocations: 5.25 kB / 0.7721 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.7045, allocations: 4 kB / 0.7721 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7045, allocations: 0 / 0.7721 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.7048, allocations: 213 kB / 0.7723 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.7048, allocations: 10.14 kB / 0.7723 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.93e-05/0.7048, allocations: 5.656 kB / 0.7723 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.865e-05/0.7049, allocations: 3.625 kB / 0.7723 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.92e-05/0.7049, allocations: 11.2 kB / 0.7724 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.004e-05/0.7049, allocations: 6.469 kB / 0.7724 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.09e-05/0.7049, allocations: 85 kB / 0.7724 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.7049, allocations: 0.75 kB / 0.7724 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002894/0.7052, allocations: 36.56 kB / 0.7725 GB, free: 4.043 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_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 (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.0001927/0.7054, allocations: 125.8 kB / 0.7726 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001744/0.7056, allocations: 53.34 kB / 0.7726 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7056, allocations: 0.875 kB / 0.7727 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 5.061e-05/0.7057, allocations: 34.5 kB / 0.7727 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.7059, allocations: 13.34 kB / 0.7727 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.7064, allocations: 282.2 kB / 0.773 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.7066, allocations: 0.6924 MB / 0.7736 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.733e-05/0.7066, allocations: 15.2 kB / 0.7737 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.803e-05/0.7066, allocations: 12.75 kB / 0.7737 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.7066, allocations: 0 / 0.7737 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of Templates: time 0.004078/0.7107, allocations: 1.001 MB / 0.7746 GB, free: 2.852 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.439881413243711] Failed to read output from testmodel.py, exit status != 0: 0.7194584747776389 0.73351155 0.029441610000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0ec87397b0>