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.00182/0.00182, allocations: 92.7 kB / 19.44 MB, free: 320 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.002265/0.002265, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.492/1.492, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.288/1.288, allocations: 154.6 MB / 414.2 MB, free: 0.6406 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 2.104e-06/2.104e-06, allocations: 0 / 0.5196 GB, free: 2.547 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.838e-05/3.049e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.543 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002662/0.002692, allocations: 1.29 MB / 0.5209 GB, free: 1.266 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001217/0.003909, allocations: 0.5443 MB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.675e-05/0.003936, allocations: 0 / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.918e-05/0.003955, allocations: 0.5625 kB / 0.5214 GB, free: 0.7227 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.004004, allocations: 12.48 kB / 0.5214 GB, free: 0.7109 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.00465, allocations: 144.6 kB / 0.5216 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.837e-05/0.004729, allocations: 27.91 kB / 0.5216 GB, free: 0.543 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.004765, allocations: 9.438 kB / 0.5216 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.713e-05/0.004812, allocations: 19.92 kB / 0.5216 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.998e-05/0.004872, allocations: 11.98 kB / 0.5216 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.004889, allocations: 4 kB / 0.5216 GB, free: 0.5 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005007/0.00539, allocations: 272.3 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.404e-05/0.005414, allocations: 8 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.857e-05/0.005443, allocations: 5.406 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000327/0.00577, allocations: 163.5 kB / 0.5221 GB, free: 64 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.235e-06/0.005772, allocations: 4 kB / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.005773, allocations: 0 / 0.5221 GB, free: 60 kB / 490.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.005777, allocations: 1.156 kB / 0.5221 GB, free: 60 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.0005075/0.006284, allocations: 298 kB / 0.5224 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.006319, allocations: 8.031 kB / 0.5224 GB, free: 15.72 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.279e-05/0.006372, allocations: 9.578 kB / 0.5224 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.006515, allocations: 107 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.006529, allocations: 4.375 kB / 0.5225 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.006563, allocations: 8.375 kB / 0.5225 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.006734, allocations: 103 kB / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.006746, allocations: 192 / 0.5226 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.006761, allocations: 8.359 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.006765, allocations: 384 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.006825, allocations: 28.55 kB / 0.5226 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.007002, allocations: 109.3 kB / 0.5227 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/0.007137, allocations: 56.41 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.007193, allocations: 32.84 kB / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.007213, allocations: 0 / 0.5228 GB, free: 15.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/0.00725, allocations: 34.56 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 7.22e-07/0.007251, allocations: 1.938 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001318/0.008569, allocations: 451.7 kB / 0.5233 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.645e-05/0.008615, allocations: 56.88 kB / 0.5233 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.008714, allocations: 101.8 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.008737, allocations: 25.7 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.008786, allocations: 81.45 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.008837, allocations: 35.7 kB / 0.5236 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.008892, allocations: 29.7 kB / 0.5236 GB, free: 14.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.009079, allocations: 314.8 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.238e-05/0.009131, allocations: 24.55 kB / 0.5239 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.477e-05/0.009176, allocations: 20.48 kB / 0.5239 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.009286, allocations: 59.48 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.009287, allocations: 1.031 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000184/0.009471, allocations: 105.6 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.009486, allocations: 9.219 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.009491, allocations: 0 / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.00951, allocations: 3.938 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.009617, allocations: 16 kB / 0.5241 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.009631, allocations: 12.47 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.545e-05/0.009656, allocations: 1.812 kB / 0.5241 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.009669, allocations: 8 kB / 0.5241 GB, free: 13.71 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.000102/0.009771, allocations: 113.8 kB / 0.5243 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.482e-05/0.009796, allocations: 15.89 kB / 0.5243 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002237/0.01002, allocations: 100.2 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.01003, allocations: 3.938 kB / 0.5244 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.01003, allocations: 7.984 kB / 0.5244 GB, free: 13.47 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01004, allocations: 4 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.01047, allocations: 286.1 kB / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01047, allocations: 0 / 0.5247 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.01058, allocations: 26.42 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.01059, allocations: 7.938 kB / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.0106, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.0106, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0106, allocations: 0 / 0.5247 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.01092, allocations: 221.4 kB / 0.5249 GB, free: 12.89 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.01093, allocations: 4.031 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.01094, allocations: 8.906 kB / 0.5249 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.693e-05/0.01104, allocations: 8 kB / 0.5249 GB, free: 12.87 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.01116, allocations: 4.922 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.01117, allocations: 7.984 kB / 0.5249 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.01123, allocations: 82.28 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01123, allocations: 0 / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002835/0.01151, allocations: 35.88 kB / 0.525 GB, free: 12.74 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.0002436/0.01175, allocations: 135.1 kB / 0.5252 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.01192, allocations: 59.91 kB / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01192, allocations: 0 / 0.5252 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 5.639e-05/0.01198, allocations: 27.94 kB / 0.5253 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.01221, allocations: 15.67 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.01274, allocations: 250.2 kB / 0.5255 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.573e-05/0.01282, allocations: 68.88 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.486e-05/0.01287, allocations: 13.16 kB / 0.5256 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.0129, allocations: 12.5 kB / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01291, allocations: 0 / 0.5256 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.003823/0.01673, allocations: 0.9355 MB / 0.5265 GB, free: 11.31 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.780907702050172]