Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001388/0.001388, 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.001719/0.001719, 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.449/1.449, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.215/1.215, allocations: 154.8 MB / 414.3 MB, free: 456 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.5199 GB, free: 2.293 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.368e-05/2.52e-05, allocations: 6.547 kB / 0.5199 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002442/0.002468, allocations: 1.286 MB / 0.5211 GB, free: 1.016 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.003628, allocations: 0.5354 MB / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.003651, allocations: 0 / 0.5216 GB, free: 496 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.003675, allocations: 7.984 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.316e-05/0.003718, allocations: 0.6875 kB / 0.5216 GB, free: 488 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005577/0.004276, allocations: 152.5 kB / 0.5218 GB, free: 336 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.816e-05/0.004334, allocations: 11.94 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.603e-05/0.00437, allocations: 8.984 kB / 0.5218 GB, free: 316 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.845e-05/0.004428, allocations: 11.94 kB / 0.5218 GB, free: 304 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.004474, allocations: 7.984 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.004486, allocations: 0.5938 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004858/0.004972, allocations: 276.1 kB / 0.5221 GB, free: 20 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 1.636e-05/0.004989, allocations: 3.984 kB / 0.5221 GB, free: 16 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.005013, allocations: 4.844 kB / 0.5221 GB, free: 12 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.005323, allocations: 163.4 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.005326, allocations: 0 / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of FrontEnd: time 6.81e-07/0.005326, allocations: 2.438 kB / 0.5223 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.00533, allocations: 0 / 0.5223 GB, free: 15.85 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004616/0.005792, allocations: 282 kB / 0.5225 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.00583, allocations: 12.03 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.005875, allocations: 4.891 kB / 0.5225 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.005993, allocations: 105.8 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.006005, allocations: 1.188 kB / 0.5226 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.006033, allocations: 8.375 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.006166, allocations: 73.11 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.006173, allocations: 192 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.006182, allocations: 384 / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.00619, allocations: 4.375 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.00623, allocations: 8.469 kB / 0.5227 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.006396, allocations: 106 kB / 0.5228 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/0.006606, allocations: 51.59 kB / 0.5229 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.965e-05/0.006646, allocations: 16.8 kB / 0.5229 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.006671, allocations: 4.094 kB / 0.5229 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.006701, allocations: 35.48 kB / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.006701, allocations: 0 / 0.5229 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0006394/0.007341, allocations: 229.7 kB / 0.5232 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.007388, allocations: 56.25 kB / 0.5232 GB, free: 14.71 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.806e-05/0.007486, allocations: 97.84 kB / 0.5233 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.007512, allocations: 30.45 kB / 0.5233 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 5.775e-05/0.00757, allocations: 80.14 kB / 0.5234 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.007599, allocations: 20.48 kB / 0.5234 GB, free: 14.47 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.007643, allocations: 17.72 kB / 0.5235 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.007823, allocations: 319.8 kB / 0.5238 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.016e-05/0.007853, allocations: 8 kB / 0.5238 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.277e-05/0.007876, allocations: 12 kB / 0.5238 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.449e-05/0.00795, allocations: 45.75 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.007954, allocations: 4.062 kB / 0.5238 GB, free: 14.06 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001228/0.008077, allocations: 71.39 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.008092, allocations: 8 kB / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.008097, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.008116, allocations: 0 / 0.5239 GB, free: 13.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.567e-05/0.008172, allocations: 8 kB / 0.5239 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.008179, allocations: 5.688 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.266e-05/0.008201, allocations: 4 kB / 0.5239 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.008206, allocations: 3.938 kB / 0.5239 GB, free: 13.96 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.0001079/0.008314, allocations: 113.8 kB / 0.524 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.008332, allocations: 4.734 kB / 0.524 GB, free: 13.83 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.008484, allocations: 69.81 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.008486, allocations: 1.344 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.008494, allocations: 3.938 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.008497, allocations: 3.938 kB / 0.5241 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.008862, allocations: 260.3 kB / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008864, allocations: 0 / 0.5244 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.19e-05/0.008936, allocations: 12 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008938, allocations: 0.9375 kB / 0.5244 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.008951, allocations: 7.938 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.008955, allocations: 5.156 kB / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008956, allocations: 0 / 0.5244 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.00919, allocations: 180.3 kB / 0.5246 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.459e-05/0.009214, allocations: 11.03 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.009251, allocations: 8.109 kB / 0.5246 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.009331, allocations: 4 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.00935, allocations: 4.516 kB / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.009355, allocations: 0 / 0.5246 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.037e-05/0.009416, allocations: 91.25 kB / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.009416, allocations: 0 / 0.5247 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002628/0.009678, allocations: 23.88 kB / 0.5247 GB, free: 13.11 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.0002279/0.009906, allocations: 130.1 kB / 0.5248 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.01001, allocations: 23.98 kB / 0.5248 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.01002, allocations: 4 kB / 0.5248 GB, free: 12.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 3.099e-05/0.01005, allocations: 15.94 kB / 0.5249 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01029, allocations: 7.219 kB / 0.5249 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.01074, allocations: 176.3 kB / 0.525 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.45e-05/0.01083, allocations: 63.34 kB / 0.5251 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.01087, allocations: 5.281 kB / 0.5251 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.842e-05/0.01091, allocations: 16.48 kB / 0.5251 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.01091, allocations: 5.625 kB / 0.5251 GB, free: 12.63 MB / 0.4948 GB Notification: Performance of Templates: time 0.004165/0.01507, allocations: 0.6385 MB / 0.5257 GB, free: 12.06 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.579008630011231]