Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000787/0.000787, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.001926, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000966/0.000966, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001083/0.002049, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.896/0.896, allocations: 177.2 MB / 189.7 MB, free: 5.227 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07447/0.9705, allocations: 53.66 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7605/0.7605, allocations: 154.6 MB / 398.8 MB, free: 372 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2543/1.015, allocations: 49.04 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 4 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.099e-05, allocations: 5.156 kB / 449.2 MB, free: 5.262 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002493/0.002514, allocations: 1.57 MB / 450.7 MB, free: 3.727 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.003214, allocations: 0.5982 MB / 451.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.00324, allocations: 0.6562 kB / 451.3 MB, free: 3.133 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.516e-05/0.003265, allocations: 7.922 kB / 451.3 MB, free: 3.125 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 3.351e-05/0.003299, allocations: 12.53 kB / 451.3 MB, free: 3.117 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.003673, allocations: 154.2 kB / 451.5 MB, free: 2.977 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.003755, allocations: 52 kB / 451.5 MB, free: 2.934 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.79e-05/0.003793, allocations: 13.38 kB / 451.6 MB, free: 2.922 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.861e-05/0.003882, allocations: 31.97 kB / 451.6 MB, free: 2.891 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.003918, allocations: 19.91 kB / 451.6 MB, free: 2.871 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.003932, allocations: 4.75 kB / 451.6 MB, free: 2.867 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.004246, allocations: 275.4 kB / 451.9 MB, free: 2.598 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.004266, allocations: 11.31 kB / 451.9 MB, free: 2.59 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.004286, allocations: 15.94 kB / 451.9 MB, free: 2.574 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.004489, allocations: 155.5 kB / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.114e-05/0.0045, allocations: 0 / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004501, allocations: 0 / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.004513, allocations: 0 / 452.1 MB, free: 2.422 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004126/0.004926, allocations: 322.2 kB / 452.4 MB, free: 2.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.769e-05/0.004953, allocations: 8.031 kB / 452.4 MB, free: 2.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.004984, allocations: 9.781 kB / 452.4 MB, free: 2.066 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.325e-05/0.005058, allocations: 109.8 kB / 452.5 MB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.00508, allocations: 8.375 kB / 452.5 MB, free: 1.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.0051, allocations: 6.953 kB / 452.5 MB, free: 1.922 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.005234, allocations: 131.5 kB / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005242, allocations: 192 / 452.6 MB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.005249, allocations: 4.375 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.005254, allocations: 1.25 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.321e-05/0.005287, allocations: 29.48 kB / 452.7 MB, free: 1.742 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.005557, allocations: 209.4 kB / 452.9 MB, free: 1.523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.658e-05/0.005654, allocations: 54.48 kB / 452.9 MB, free: 1.461 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.005672, allocations: 13.55 kB / 453 MB, free: 1.445 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.005687, allocations: 5.312 kB / 453 MB, free: 1.441 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.005707, allocations: 34.5 kB / 453 MB, free: 1.398 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.005708, allocations: 0 / 453 MB, free: 1.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.000712/0.00642, allocations: 459.3 kB / 453.4 MB, free: 0.8984 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.006443, allocations: 56.5 kB / 453.5 MB, free: 0.832 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.006492, allocations: 107.8 kB / 453.6 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.006504, allocations: 33.7 kB / 453.6 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/0.006529, allocations: 85.56 kB / 453.7 MB, free: 0.5898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.006557, allocations: 43.61 kB / 453.8 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.006589, allocations: 31.19 kB / 453.8 MB, free: 0.5117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.006675, allocations: 314.8 kB / 454.1 MB, free: 200 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.006695, allocations: 8 kB / 454.1 MB, free: 192 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.006713, allocations: 18.73 kB / 454.1 MB, free: 176 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.431e-05/0.006757, allocations: 38.31 kB / 454.2 MB, free: 136 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.006759, allocations: 8 kB / 454.2 MB, free: 128 kB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 7.491e-05/0.006834, allocations: 77.55 kB / 454.2 MB, free: 44 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.006848, allocations: 8 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.006852, allocations: 0.6875 kB / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.006864, allocations: 0 / 454.3 MB, free: 36 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.006945, allocations: 29.08 kB / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.575e-06/0.006948, allocations: 0 / 454.3 MB, free: 8 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.006969, allocations: 4.625 kB / 454.3 MB, free: 4 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.006975, allocations: 4 kB / 454.3 MB, free: 0 / 426.7 MB 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 6.394e-05/0.007039, allocations: 114.4 kB / 454.4 MB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.007056, allocations: 13.16 kB / 454.4 MB, free: 15.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.007164, allocations: 85.64 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.007167, allocations: 5.5 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.007168, allocations: 0.75 kB / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.007171, allocations: 0 / 454.5 MB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.007364, allocations: 249.5 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.007366, allocations: 0.6875 kB / 454.7 MB, free: 15.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.007437, allocations: 23.98 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-06/0.007442, allocations: 4.625 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.007444, allocations: 0 / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.00745, allocations: 0.5625 kB / 454.8 MB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.007453, allocations: 4.625 kB / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007454, allocations: 0 / 454.8 MB, free: 15.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/0.007587, allocations: 192 kB / 455 MB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.007598, allocations: 8.875 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.136e-05/0.007639, allocations: 4 kB / 455 MB, free: 15.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.007653, allocations: 7.984 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.007659, allocations: 5.719 kB / 455 MB, free: 15.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.242e-05/0.007671, allocations: 14.52 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007671, allocations: 4 kB / 455 MB, free: 15.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.007837, allocations: 39.88 kB / 455.1 MB, free: 15.19 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0001479/0.007985, allocations: 125.1 kB / 455.2 MB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.024e-05/0.008066, allocations: 56.16 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.00807, allocations: 3.984 kB / 455.2 MB, free: 15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.368e-05/0.008104, allocations: 41.44 kB / 455.3 MB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.008258, allocations: 71.34 kB / 455.3 MB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009139/0.009172, allocations: 216.4 kB / 455.6 MB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.065e-05/0.009203, allocations: 61.56 kB / 455.6 MB, free: 14.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 4.079e-05/0.009244, allocations: 10.11 kB / 455.6 MB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.464e-05/0.009298, allocations: 67.36 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of SimCode: time 8.72e-07/0.009299, allocations: 1.75 kB / 455.7 MB, free: 14.49 MB / 442.7 MB Notification: Performance of Templates: time 0.002744/0.01204, allocations: 1.448 MB / 457.1 MB, free: 13.19 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.462064877152443]