Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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.0009662/0.0009662, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 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.001795/0.001795, allocations: 169.7 kB / 23.27 MB, free: 1.223 MB / 18.57 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.9147/0.9147, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.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.7556/0.7556, allocations: 154.6 MB / 414.8 MB, free: 0.5352 MB / 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. " [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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.5208 GB, free: 1.922 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.478e-05, allocations: 3.859 kB / 0.5208 GB, free: 1.918 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001567/0.001582, allocations: 1.32 MB / 0.5221 GB, free: 0.6055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007396/0.002322, allocations: 0.5642 MB / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.002348, allocations: 0 / 0.5226 GB, free: 44 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.728e-05/0.002365, allocations: 3.984 kB / 0.5226 GB, free: 40 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.117e-05/0.002396, allocations: 3.984 kB / 0.5226 GB, free: 36 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003818/0.002778, allocations: 149.1 kB / 0.5228 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 4.805e-05/0.002826, allocations: 23.86 kB / 0.5228 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 2.645e-05/0.002853, allocations: 3.984 kB / 0.5228 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 4.898e-05/0.002901, allocations: 13.22 kB / 0.5228 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 3.984e-05/0.002941, allocations: 7.984 kB / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.002952, allocations: 0 / 0.5228 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000268/0.00322, allocations: 275.4 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.275e-05/0.003233, allocations: 6.297 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 1.253e-05/0.003246, allocations: 4 kB / 0.5231 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.003422, allocations: 155.5 kB / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003423, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.61e-07/0.003424, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.003427, allocations: 0 / 0.5232 GB, free: 15.41 MB / 0.4948 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.0002805/0.003708, allocations: 385.6 kB / 0.5236 GB, free: 15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.003738, allocations: 15.97 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.251e-05/0.003761, allocations: 5.234 kB / 0.5236 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.445e-05/0.003825, allocations: 112.6 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.003834, allocations: 0.9375 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.003849, allocations: 4.375 kB / 0.5237 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.429e-05/0.003923, allocations: 68.8 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.00393, allocations: 4.188 kB / 0.5238 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.522e-06/0.003936, allocations: 5.5 kB / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.003941, allocations: 384 / 0.5238 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.694e-05/0.003958, allocations: 11.92 kB / 0.5238 GB, free: 14.74 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.35e-05/0.004051, allocations: 102 kB / 0.5239 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.004175, allocations: 48.11 kB / 0.524 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.711e-05/0.004192, allocations: 19.62 kB / 0.524 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.004208, allocations: 4.078 kB / 0.524 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.004228, allocations: 38.92 kB / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.004229, allocations: 0 / 0.524 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0003327/0.004562, allocations: 226 kB / 0.5242 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.981e-05/0.004582, allocations: 52.5 kB / 0.5243 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002999/0.004882, allocations: 157.9 kB / 0.5244 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.004892, allocations: 33.69 kB / 0.5245 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 2.919e-05/0.004921, allocations: 127.6 kB / 0.5246 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.004943, allocations: 23.78 kB / 0.5246 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.00497, allocations: 24.66 kB / 0.5246 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.005066, allocations: 0.4923 MB / 0.5251 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.131e-05/0.005077, allocations: 4 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.577e-05/0.005093, allocations: 5.156 kB / 0.5251 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.121e-05/0.005124, allocations: 31.61 kB / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.005125, allocations: 0 / 0.5252 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.094e-05/0.005176, allocations: 58.17 kB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.005185, allocations: 8 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005188, allocations: 2.844 kB / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005199, allocations: 0 / 0.5252 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.095e-05/0.00523, allocations: 8 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.394e-06/0.005232, allocations: 4 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.038e-05/0.005243, allocations: 3.938 kB / 0.5252 GB, free: 13.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.005246, allocations: 4 kB / 0.5252 GB, free: 13.13 MB / 0.4948 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 5.109e-05/0.005297, allocations: 168.4 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-06/0.005303, allocations: 3.031 kB / 0.5254 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.005384, allocations: 65.8 kB / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.005385, allocations: 0 / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.005386, allocations: 0 / 0.5255 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.81e-06/0.005391, allocations: 8.062 kB / 0.5255 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.005559, allocations: 297.7 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.00556, allocations: 0 / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.005593, allocations: 8 kB / 0.5258 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.317e-06/0.005596, allocations: 5.5 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.0056, allocations: 0 / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.005601, allocations: 0 / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.005604, allocations: 3.938 kB / 0.5258 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.005714, allocations: 232 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.14e-05/0.005725, allocations: 5 kB / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-06/0.005732, allocations: 0 / 0.526 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.434e-05/0.005767, allocations: 7.094 kB / 0.526 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.121e-05/0.005778, allocations: 11.92 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.005782, allocations: 4 kB / 0.526 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 2.693e-05/0.005809, allocations: 119.2 kB / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4e-08/0.005809, allocations: 0 / 0.5261 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001493/0.005958, allocations: 27.92 kB / 0.5262 GB, free: 12.12 MB / 0.4948 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.000113/0.006071, allocations: 123 kB / 0.5263 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 5.971e-05/0.006131, allocations: 38.31 kB / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006132, allocations: 0 / 0.5263 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 1.528e-05/0.006147, allocations: 23.62 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.006283, allocations: 4 kB / 0.5263 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.00664, allocations: 193 kB / 0.5265 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.811e-05/0.006668, allocations: 55.36 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.53e-05/0.006693, allocations: 9.188 kB / 0.5266 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.006731, allocations: 82.19 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of SimCode: time 3.5e-07/0.006732, allocations: 0.5 kB / 0.5267 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.001994/0.008725, allocations: 0.7436 MB / 0.5274 GB, free: 10.88 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5347608043812215]