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.001499/0.001499, 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.002092/0.002092, allocations: 189 kB / 22.22 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.46/1.46, allocations: 225.6 MB / 251 MB, free: 13.02 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.117/1.117, allocations: 177.9 MB / 484.2 MB, free: 5.375 MB / 382.1 MB " [Timeout remaining time 178] 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.002039/0.002039, allocations: 63.86 kB / 0.674 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5863/0.5883, allocations: 95.17 MB / 0.7669 GB, free: 7.961 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002285/0.5906, allocations: 1.28 MB / 0.7682 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009652/0.5916, allocations: 0.6142 MB / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.5916, allocations: 0 / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.5916, allocations: 0.7031 kB / 0.7688 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.5917, allocations: 4.641 kB / 0.7688 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005561/0.5922, allocations: 145.3 kB / 0.7689 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.038e-05/0.5923, allocations: 23.45 kB / 0.7689 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.5924, allocations: 5.859 kB / 0.7689 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.5924, allocations: 6.219 kB / 0.7689 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.5924, allocations: 12.55 kB / 0.769 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.5925, allocations: 1.156 kB / 0.769 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004989/0.593, allocations: 343.5 kB / 0.7693 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.228e-05/0.593, allocations: 5.031 kB / 0.7693 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.593, allocations: 10.31 kB / 0.7693 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.5932, allocations: 149.3 kB / 0.7694 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.5932, allocations: 1.641 kB / 0.7694 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5933, allocations: 1.344 kB / 0.7694 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.281e-06/0.5933, allocations: 0 / 0.7694 GB, free: 6.727 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.000359/0.5936, allocations: 287.8 kB / 0.7697 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5937, allocations: 8.969 kB / 0.7697 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.5937, allocations: 3.344 kB / 0.7697 GB, free: 6.438 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.533e-05/0.5938, allocations: 109.2 kB / 0.7698 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.5938, allocations: 1.438 kB / 0.7698 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.5938, allocations: 2.781 kB / 0.7698 GB, free: 6.309 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.453e-05/0.5939, allocations: 43.86 kB / 0.7699 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.5939, allocations: 0 / 0.7699 GB, free: 6.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.5939, allocations: 4.969 kB / 0.7699 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.177e-06/0.5939, allocations: 0 / 0.7699 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.594, allocations: 12.52 kB / 0.7699 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.5941, allocations: 134.1 kB / 0.77 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.5943, allocations: 38.59 kB / 0.7701 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.5943, allocations: 23.38 kB / 0.7701 GB, free: 6.055 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.239e-05/0.5943, allocations: 5.281 kB / 0.7701 GB, free: 6.051 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.5943, allocations: 35.97 kB / 0.7701 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.5943, allocations: 0 / 0.7701 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.000554/0.5949, allocations: 233.1 kB / 0.7704 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.5949, allocations: 51.41 kB / 0.7704 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.631e-05/0.595, allocations: 99.02 kB / 0.7705 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.595, allocations: 30.86 kB / 0.7705 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.838e-05/0.595, allocations: 92.12 kB / 0.7706 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.595, allocations: 20.8 kB / 0.7706 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.595, allocations: 21.66 kB / 0.7707 GB, free: 5.488 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.5951, allocations: 312.8 kB / 0.7709 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.5951, allocations: 10.48 kB / 0.771 GB, free: 5.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.348e-05/0.5951, allocations: 16.89 kB / 0.771 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.697e-05/0.5952, allocations: 35.73 kB / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5952, allocations: 0 / 0.771 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7) (initialization): time 9.699e-05/0.5953, allocations: 72.92 kB / 0.7711 GB, free: 5.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.5953, allocations: 10.34 kB / 0.7711 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5953, allocations: 64 / 0.7711 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5953, allocations: 5.5 kB / 0.7711 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.654e-05/0.5954, allocations: 12.28 kB / 0.7711 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.5954, allocations: 0 / 0.7711 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.102e-05/0.5954, allocations: 1.219 kB / 0.7711 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.5954, allocations: 1.125 kB / 0.7711 GB, free: 5.082 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 4.935e-05/0.5955, allocations: 117.8 kB / 0.7712 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.5955, allocations: 5.391 kB / 0.7712 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.5956, allocations: 79.09 kB / 0.7713 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5956, allocations: 0 / 0.7713 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5956, allocations: 0.875 kB / 0.7713 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5956, allocations: 0 / 0.7713 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.5959, allocations: 290.6 kB / 0.7716 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.5959, allocations: 0.9062 kB / 0.7716 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.542e-05/0.5959, allocations: 11.14 kB / 0.7716 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.5959, allocations: 2.797 kB / 0.7716 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.596, allocations: 1.438 kB / 0.7716 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.596, allocations: 5.219 kB / 0.7716 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.596, allocations: 0 / 0.7716 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.5961, allocations: 184.5 kB / 0.7718 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.5961, allocations: 4.375 kB / 0.7718 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.5961, allocations: 1.906 kB / 0.7718 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.5962, allocations: 6.531 kB / 0.7718 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.5962, allocations: 7.938 kB / 0.7718 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.5962, allocations: 2.031 kB / 0.7718 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.5963, allocations: 84.61 kB / 0.7719 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5963, allocations: 0 / 0.7719 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002631/0.5965, allocations: 26.53 kB / 0.7719 GB, free: 4.336 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.0001728/0.5967, allocations: 119 kB / 0.772 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.5968, allocations: 40.44 kB / 0.7721 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5968, allocations: 0 / 0.7721 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-05/0.5969, allocations: 19.41 kB / 0.7721 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.5971, allocations: 6.156 kB / 0.7721 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.5975, allocations: 189.8 kB / 0.7723 GB, free: 4.043 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.5976, allocations: 0.6841 MB / 0.7729 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.5976, allocations: 3.125 kB / 0.7729 GB, free: 3.344 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.215e-05/0.5976, allocations: 12.77 kB / 0.7729 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.5976, allocations: 0 / 0.7729 GB, free: 3.336 MB / 0.5762 GB Notification: Performance of Templates: time 0.003342/0.601, allocations: 0.6647 MB / 0.7736 GB, free: 3.238 MB / 0.5762 GB " [Timeout remaining time 659] 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.514539767056704] Failed to read output from testmodel.py, exit status != 0: 0.6099448828026652 0.6233721019999999 0.026941331000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd25b5997b0>