Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001634/0.001634, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002207/0.002207, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.466/1.466, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 1.221/1.221, allocations: 154.6 MB / 414.2 MB, free: 0.6172 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 178] 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_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 0.5196 GB, free: 2.535 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.882e-05/3.034e-05, allocations: 3.859 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002555/0.002585, allocations: 1.281 MB / 0.5209 GB, free: 1.258 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003769, allocations: 0.5399 MB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.666e-05/0.003795, allocations: 0 / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.057e-05/0.003816, allocations: 0.9062 kB / 0.5214 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 5.141e-05/0.003867, allocations: 7.984 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.004542, allocations: 144.3 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.004616, allocations: 24.69 kB / 0.5216 GB, free: 0.5469 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.004655, allocations: 4 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.004715, allocations: 5.031 kB / 0.5216 GB, free: 0.5391 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.004773, allocations: 11.92 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004788, allocations: 1.5 kB / 0.5216 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005221/0.00531, allocations: 271.4 kB / 0.5219 GB, free: 268 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.005331, allocations: 7.922 kB / 0.5219 GB, free: 260 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.005362, allocations: 8 kB / 0.5219 GB, free: 252 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.005686, allocations: 156.6 kB / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005689, allocations: 0 / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.00569, allocations: 0 / 0.522 GB, free: 96 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.005695, allocations: 0.6875 kB / 0.522 GB, free: 96 kB / 490.7 MB 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.0004983/0.006193, allocations: 282 kB / 0.5223 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.006231, allocations: 9.312 kB / 0.5223 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.006284, allocations: 8.891 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.006422, allocations: 109.8 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.006435, allocations: 1.5 kB / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.00646, allocations: 384 / 0.5224 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.0066, allocations: 71.89 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.006609, allocations: 0.9688 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.006618, allocations: 384 / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.006626, allocations: 5.203 kB / 0.5225 GB, free: 15.55 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.41e-05/0.00667, allocations: 15.92 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.006841, allocations: 109.3 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/0.007053, allocations: 41.17 kB / 0.5227 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.144e-05/0.007094, allocations: 20.94 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.134e-05/0.007116, allocations: 0 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.007145, allocations: 38.5 kB / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 7.02e-07/0.007146, allocations: 0 / 0.5227 GB, free: 15.28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006863/0.007832, allocations: 237.8 kB / 0.5229 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.007879, allocations: 55.34 kB / 0.523 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.007984, allocations: 103 kB / 0.5231 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.008007, allocations: 25.7 kB / 0.5231 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.008057, allocations: 84.08 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.008089, allocations: 20.42 kB / 0.5232 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.008133, allocations: 17.72 kB / 0.5232 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.008307, allocations: 320.3 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.958e-05/0.008337, allocations: 8 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.772e-05/0.008364, allocations: 15.98 kB / 0.5236 GB, free: 14.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.008433, allocations: 32.8 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.008434, allocations: 0.5 kB / 0.5236 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001259/0.00856, allocations: 74.59 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.008574, allocations: 4 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.008581, allocations: 4.844 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.008599, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.008653, allocations: 8 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.008663, allocations: 4.562 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.825e-05/0.008681, allocations: 1.094 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.008689, allocations: 4 kB / 0.5237 GB, free: 14.2 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 0.0001002/0.008789, allocations: 117.8 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.008819, allocations: 4.719 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.008991, allocations: 73.81 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.008993, allocations: 3.062 kB / 0.5239 GB, free: 14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.009001, allocations: 3.938 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.009004, allocations: 0 / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003993/0.009403, allocations: 259.1 kB / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009405, allocations: 0 / 0.5241 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.177e-05/0.009477, allocations: 12 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.00948, allocations: 0 / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.009496, allocations: 6.562 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/0.009503, allocations: 8 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.009507, allocations: 4.5 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.009787, allocations: 180.3 kB / 0.5243 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.483e-05/0.009811, allocations: 3.984 kB / 0.5243 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.009829, allocations: 7.969 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.662e-05/0.009906, allocations: 1.25 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.00994, allocations: 11.98 kB / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.009946, allocations: 0 / 0.5243 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.01001, allocations: 83.27 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01001, allocations: 4.812 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002946/0.0103, allocations: 23.88 kB / 0.5245 GB, free: 13.34 MB / 0.4948 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.0002577/0.01056, allocations: 116.3 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001433/0.0107, allocations: 32.42 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.01071, allocations: 4 kB / 0.5246 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.01075, allocations: 18.81 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.011, allocations: 14.64 kB / 0.5246 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.01153, allocations: 170.5 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.847e-05/0.01162, allocations: 65.31 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.912e-05/0.01167, allocations: 12.36 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.463e-05/0.01171, allocations: 8.5 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.01171, allocations: 0 / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of Templates: time 0.003571/0.01528, allocations: 0.6453 MB / 0.5255 GB, free: 12.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.640189878991805]