Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_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.00183/0.00183, 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.002109/0.002109, allocations: 169.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.559/1.559, allocations: 177.1 MB / 203.1 MB, free: 5.539 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.6328 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_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.5196 GB, free: 2.527 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.194e-05/3.383e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.523 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2): time 0.002951/0.002985, allocations: 1.477 MB / 0.5211 GB, free: 1.055 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.004265, allocations: 0.5965 MB / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.587e-05/0.004301, allocations: 0 / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.006e-05/0.004331, allocations: 0 / 0.5217 GB, free: 472 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.004399, allocations: 15.84 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005959/0.004995, allocations: 165 kB / 0.5218 GB, free: 292 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.329e-05/0.005088, allocations: 47.8 kB / 0.5219 GB, free: 244 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.005124, allocations: 8.578 kB / 0.5219 GB, free: 236 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.005216, allocations: 27.97 kB / 0.5219 GB, free: 208 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.04e-05/0.005266, allocations: 28.8 kB / 0.5219 GB, free: 180 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005286, allocations: 4 kB / 0.5219 GB, free: 176 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004748/0.005761, allocations: 272 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.396e-05/0.005785, allocations: 11.98 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.222e-05/0.005827, allocations: 24.53 kB / 0.5222 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003549/0.006182, allocations: 188 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.006185, allocations: 0 / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.21e-07/0.006186, allocations: 0.8125 kB / 0.5224 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.006191, allocations: 0 / 0.5224 GB, free: 15.69 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001122/0.007313, allocations: 412.8 kB / 0.5228 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.007355, allocations: 8.031 kB / 0.5228 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.007416, allocations: 18.64 kB / 0.5228 GB, free: 15.22 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.007557, allocations: 120.5 kB / 0.523 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.007585, allocations: 4.375 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.007611, allocations: 8.375 kB / 0.523 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.007901, allocations: 127.4 kB / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.007914, allocations: 192 / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.007927, allocations: 384 / 0.5231 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.007935, allocations: 4.375 kB / 0.5231 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002015/0.008136, allocations: 48.66 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.008754, allocations: 320.9 kB / 0.5234 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00027/0.009024, allocations: 79.02 kB / 0.5235 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.805e-05/0.009123, allocations: 31.61 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.009148, allocations: 5.25 kB / 0.5236 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.69e-05/0.009195, allocations: 41.33 kB / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.009196, allocations: 0 / 0.5236 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of matching and sorting (n=11): time 0.001582/0.01078, allocations: 0.5065 MB / 0.5241 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.01083, allocations: 59.39 kB / 0.5241 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.01096, allocations: 161.9 kB / 0.5243 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.01099, allocations: 29.7 kB / 0.5243 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.01108, allocations: 134.9 kB / 0.5245 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.037e-05/0.01113, allocations: 40.22 kB / 0.5245 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.308e-05/0.01119, allocations: 35.36 kB / 0.5245 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000282/0.01147, allocations: 0.4932 MB / 0.525 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.01159, allocations: 31.98 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.504e-05/0.01168, allocations: 27.42 kB / 0.5251 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000215/0.0119, allocations: 72.67 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.0119, allocations: 0 / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002919/0.01219, allocations: 118.8 kB / 0.5253 GB, free: 12.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.01221, allocations: 7.984 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.01221, allocations: 0 / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.01222, allocations: 3.156 kB / 0.5253 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.01235, allocations: 23.98 kB / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01236, allocations: 0 / 0.5253 GB, free: 12.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.349e-05/0.01241, allocations: 8 kB / 0.5253 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01242, allocations: 4 kB / 0.5253 GB, free: 12.49 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.0001267/0.01255, allocations: 168.5 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.205e-05/0.01258, allocations: 4 kB / 0.5255 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003456/0.01293, allocations: 124.7 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.01293, allocations: 4 kB / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.01293, allocations: 0 / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.01294, allocations: 0 / 0.5256 GB, free: 12.18 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005796/0.01352, allocations: 377.3 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01352, allocations: 3.938 kB / 0.5259 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.01367, allocations: 27.98 kB / 0.526 GB, free: 11.74 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01367, allocations: 5.484 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01368, allocations: 4 kB / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01369, allocations: 0 / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01369, allocations: 0 / 0.526 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005106/0.0142, allocations: 307.8 kB / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.983e-06/0.0142, allocations: 0 / 0.5263 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01422, allocations: 4 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-05/0.01432, allocations: 8 kB / 0.5263 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.01434, allocations: 7.984 kB / 0.5263 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.01435, allocations: 4 kB / 0.5263 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.859e-05/0.01443, allocations: 127.2 kB / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.01443, allocations: 0 / 0.5264 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000276/0.01471, allocations: 46.19 kB / 0.5265 GB, free: 11.23 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_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 (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.0002427/0.01495, allocations: 131.1 kB / 0.5266 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002961/0.01525, allocations: 83.59 kB / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01525, allocations: 0 / 0.5267 GB, free: 11 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.01538, allocations: 57.03 kB / 0.5267 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.01564, allocations: 12.7 kB / 0.5267 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006238/0.01626, allocations: 271.4 kB / 0.527 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.212e-05/0.01636, allocations: 85.45 kB / 0.5271 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.352e-05/0.01641, allocations: 9.375 kB / 0.5271 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.01644, allocations: 18.94 kB / 0.5271 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/0.01644, allocations: 0 / 0.5271 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of Templates: time 0.004555/0.021, allocations: 1.148 MB / 0.5282 GB, free: 9.5 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.947928866953589]