Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_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.001878/0.001878, allocations: 93.47 kB / 19.44 MB, free: 336 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.002039/0.002039, allocations: 169.6 kB / 22.76 MB, free: 1.664 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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.633 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.353/1.353, allocations: 154.6 MB / 414.1 MB, free: 0.6641 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_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5196 GB, free: 2.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.631e-05/2.785e-05, allocations: 5.594 kB / 0.5196 GB, free: 2.566 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00246/0.002488, allocations: 1.301 MB / 0.5209 GB, free: 1.273 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0012/0.003688, allocations: 0.5757 MB / 0.5215 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.788e-05/0.003716, allocations: 4 kB / 0.5215 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.003731, allocations: 1.094 kB / 0.5215 GB, free: 0.6953 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.003773, allocations: 3.938 kB / 0.5215 GB, free: 0.6914 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005976/0.00437, allocations: 153.3 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.332e-05/0.004454, allocations: 27.92 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.296e-05/0.004487, allocations: 3.984 kB / 0.5216 GB, free: 0.5117 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.104e-05/0.004538, allocations: 23.91 kB / 0.5217 GB, free: 500 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.004593, allocations: 4.719 kB / 0.5217 GB, free: 496 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.00461, allocations: 4 kB / 0.5217 GB, free: 492 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004674/0.005078, allocations: 272 kB / 0.5219 GB, free: 220 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.877e-05/0.005096, allocations: 8.922 kB / 0.5219 GB, free: 212 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.13e-05/0.005128, allocations: 11.98 kB / 0.522 GB, free: 200 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003215/0.005449, allocations: 159.5 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.005452, allocations: 0.5312 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.005453, allocations: 0.5625 kB / 0.5221 GB, free: 40 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005457, allocations: 0 / 0.5221 GB, free: 40 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005409/0.005998, allocations: 400.6 kB / 0.5225 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.006034, allocations: 11.16 kB / 0.5225 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.006083, allocations: 8.891 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.006208, allocations: 116.5 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.006223, allocations: 4.375 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.00625, allocations: 4.375 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.006424, allocations: 101.7 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.006435, allocations: 192 / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.006447, allocations: 4.375 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006454, allocations: 5.344 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.052e-05/0.006514, allocations: 15.92 kB / 0.5228 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/0.006713, allocations: 120.6 kB / 0.5229 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.006852, allocations: 67.5 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.006903, allocations: 24.86 kB / 0.523 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.006926, allocations: 4 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.006967, allocations: 42.95 kB / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.022e-06/0.006968, allocations: 0 / 0.523 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001249/0.008217, allocations: 473.5 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.008269, allocations: 59.34 kB / 0.5235 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.0084, allocations: 156.1 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.008423, allocations: 29.7 kB / 0.5237 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.008498, allocations: 126.9 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.963e-05/0.008547, allocations: 39.69 kB / 0.5238 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.008603, allocations: 31.38 kB / 0.5239 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002629/0.008866, allocations: 0.4891 MB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.601e-05/0.008912, allocations: 19.98 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.008958, allocations: 24.72 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.009069, allocations: 62.05 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.00907, allocations: 0.8125 kB / 0.5245 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001822/0.009252, allocations: 101.6 kB / 0.5245 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.009267, allocations: 7.625 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.009271, allocations: 4 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.009288, allocations: 3.938 kB / 0.5246 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.009396, allocations: 21.42 kB / 0.5246 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.009403, allocations: 3.984 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.009432, allocations: 8 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.009438, allocations: 0 / 0.5246 GB, free: 13.23 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 (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 0.0001238/0.009562, allocations: 163.3 kB / 0.5248 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.009585, allocations: 11.89 kB / 0.5248 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.009807, allocations: 105.7 kB / 0.5249 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.009816, allocations: 11.92 kB / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.009819, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.009822, allocations: 0 / 0.5249 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.0103, allocations: 359.4 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.0103, allocations: 2.219 kB / 0.5252 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.01041, allocations: 24 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.01041, allocations: 3.938 kB / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.01042, allocations: 0 / 0.5252 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.01043, allocations: 3.984 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.01043, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.01075, allocations: 272.7 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.141e-06/0.01075, allocations: 3.938 kB / 0.5255 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.626e-05/0.01077, allocations: 8.688 kB / 0.5255 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.438e-05/0.01085, allocations: 4 kB / 0.5255 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.866e-05/0.01087, allocations: 12.64 kB / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.01088, allocations: 0 / 0.5255 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.368e-05/0.01096, allocations: 130.6 kB / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01096, allocations: 0 / 0.5257 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002782/0.01123, allocations: 35.88 kB / 0.5257 GB, free: 12.04 MB / 0.4948 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.0002373/0.01147, allocations: 131 kB / 0.5258 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001771/0.01165, allocations: 78.84 kB / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01165, allocations: 0 / 0.5259 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.355e-05/0.01171, allocations: 39.67 kB / 0.5259 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.01193, allocations: 14.95 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.01246, allocations: 251 kB / 0.5262 GB, free: 11.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.412e-05/0.01254, allocations: 67.34 kB / 0.5263 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.01257, allocations: 8.625 kB / 0.5263 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.872e-05/0.0126, allocations: 13.44 kB / 0.5263 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.0126, allocations: 0 / 0.5263 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.004067/0.01667, allocations: 0.952 MB / 0.5272 GB, free: 10.57 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.012147266999818]