Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001818/0.001818, allocations: 85.48 kB / 19.44 MB, free: 344 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.002034/0.002034, allocations: 173.2 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.59/1.59, allocations: 177.1 MB / 203.1 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.425/1.425, allocations: 154.8 MB / 414.4 MB, free: 444 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.741e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002422/0.00245, allocations: 1.301 MB / 0.5211 GB, free: 1 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001158/0.003607, allocations: 0.5743 MB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.003629, allocations: 0.8125 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.385e-05/0.003643, allocations: 0 / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 3.588e-05/0.003679, allocations: 1.219 kB / 0.5217 GB, free: 436 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.004444, allocations: 155.8 kB / 0.5219 GB, free: 280 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.905e-05/0.004503, allocations: 23.86 kB / 0.5219 GB, free: 256 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.004542, allocations: 17.8 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.519e-05/0.004587, allocations: 15.97 kB / 0.5219 GB, free: 224 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.004642, allocations: 8 kB / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.004656, allocations: 0 / 0.5219 GB, free: 216 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004947/0.005151, allocations: 273 kB / 0.5222 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.005169, allocations: 7.984 kB / 0.5222 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.0052, allocations: 15.92 kB / 0.5222 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003027/0.005502, allocations: 159.5 kB / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.005505, allocations: 0 / 0.5223 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 9.02e-07/0.005506, allocations: 1.281 kB / 0.5224 GB, free: 15.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.00551, allocations: 0 / 0.5224 GB, free: 15.77 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005071/0.006017, allocations: 395.9 kB / 0.5227 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.006053, allocations: 12.66 kB / 0.5227 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.006098, allocations: 8.891 kB / 0.5227 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/0.006215, allocations: 113.3 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.006231, allocations: 5.844 kB / 0.5229 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.006257, allocations: 8.375 kB / 0.5229 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.006413, allocations: 93.66 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.006426, allocations: 4.188 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.006435, allocations: 1.562 kB / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.006439, allocations: 384 / 0.523 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.118e-05/0.0065, allocations: 23.92 kB / 0.523 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001965/0.006696, allocations: 132.2 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.006837, allocations: 62.98 kB / 0.5232 GB, free: 14.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.00689, allocations: 27.67 kB / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.00691, allocations: 0 / 0.5232 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.006951, allocations: 37.39 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.006951, allocations: 0 / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001213/0.008164, allocations: 483.5 kB / 0.5237 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.008207, allocations: 51.41 kB / 0.5237 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.008323, allocations: 158.9 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.008347, allocations: 29.7 kB / 0.5239 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.865e-05/0.008416, allocations: 127.8 kB / 0.524 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.008472, allocations: 43.91 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-05/0.00853, allocations: 32.84 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002655/0.008795, allocations: 0.4884 MB / 0.5246 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.885e-05/0.008844, allocations: 23.98 kB / 0.5246 GB, free: 13.19 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.164e-05/0.008886, allocations: 20 kB / 0.5246 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.008999, allocations: 67.36 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.008999, allocations: 0.5312 kB / 0.5247 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001737/0.009173, allocations: 101.6 kB / 0.5248 GB, free: 13 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.009185, allocations: 6.062 kB / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.009189, allocations: 0 / 0.5248 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.009204, allocations: 7.875 kB / 0.5248 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.009312, allocations: 23.98 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.00932, allocations: 3.984 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.009343, allocations: 2.75 kB / 0.5248 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.009355, allocations: 8 kB / 0.5249 GB, free: 12.95 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.0001155/0.00947, allocations: 160.6 kB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.009495, allocations: 11.94 kB / 0.525 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.009713, allocations: 101.7 kB / 0.5251 GB, free: 12.67 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.009718, allocations: 3.938 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009721, allocations: 0 / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.009728, allocations: 5.594 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.01017, allocations: 349.4 kB / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01017, allocations: 0 / 0.5255 GB, free: 12.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001118/0.01028, allocations: 19.94 kB / 0.5255 GB, free: 12.26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.01029, allocations: 8.859 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.0103, allocations: 4 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.0103, allocations: 0.9375 kB / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.0103, allocations: 0 / 0.5255 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.01063, allocations: 267.8 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-06/0.01064, allocations: 4.656 kB / 0.5257 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.01066, allocations: 8.688 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.951e-05/0.01074, allocations: 3.984 kB / 0.5258 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.442e-05/0.01076, allocations: 10.75 kB / 0.5258 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/0.01078, allocations: 11.98 kB / 0.5258 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.752e-05/0.01084, allocations: 119.2 kB / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.01084, allocations: 0 / 0.5259 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002612/0.01111, allocations: 35.88 kB / 0.5259 GB, free: 11.78 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.0002288/0.01133, allocations: 139 kB / 0.5261 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.01152, allocations: 77.91 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01152, allocations: 3.938 kB / 0.5261 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.997e-05/0.01159, allocations: 43.66 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002088/0.0118, allocations: 6.625 kB / 0.5262 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.0123, allocations: 249.5 kB / 0.5264 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.01238, allocations: 68.28 kB / 0.5265 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.01242, allocations: 15.3 kB / 0.5265 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.251e-05/0.01247, allocations: 12.5 kB / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.01247, allocations: 0 / 0.5265 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of Templates: time 0.004097/0.01656, allocations: 0.9383 MB / 0.5274 GB, free: 10.3 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.094528677058406]