Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.00179/0.00179, 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.001969/0.001969, 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.562/1.562, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.559/1.559, allocations: 154.6 MB / 414.1 MB, free: 0.6523 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_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.5196 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.129e-05, allocations: 2.312 kB / 0.5196 GB, free: 2.504 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.004071/0.004102, allocations: 1.293 MB / 0.5209 GB, free: 1.219 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.002177/0.006279, allocations: 0.5725 MB / 0.5214 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.091e-05/0.00631, allocations: 3.938 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 1.893e-05/0.006329, allocations: 1.469 kB / 0.5215 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.209e-05/0.006401, allocations: 3.938 kB / 0.5215 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009819/0.007383, allocations: 148 kB / 0.5216 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.757e-05/0.007471, allocations: 23.86 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.007509, allocations: 1.469 kB / 0.5216 GB, free: 484 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.547e-05/0.007605, allocations: 15.97 kB / 0.5216 GB, free: 468 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.411e-05/0.007669, allocations: 7.938 kB / 0.5216 GB, free: 460 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.007692, allocations: 4 kB / 0.5217 GB, free: 456 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008584/0.00855, allocations: 260.8 kB / 0.5219 GB, free: 196 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.008577, allocations: 7.938 kB / 0.5219 GB, free: 188 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.702e-05/0.008604, allocations: 4 kB / 0.5219 GB, free: 184 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.0091, allocations: 156 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.009104, allocations: 0 / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.009105, allocations: 3.375 kB / 0.5221 GB, free: 28 kB / 490.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.00911, allocations: 4 kB / 0.5221 GB, free: 24 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007623/0.009872, allocations: 384 kB / 0.5224 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.009922, allocations: 11.97 kB / 0.5224 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.009993, allocations: 12.89 kB / 0.5225 GB, free: 15.59 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.01018, allocations: 108.6 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.01019, allocations: 384 / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.972e-05/0.01022, allocations: 4.375 kB / 0.5226 GB, free: 15.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001994/0.01042, allocations: 68.45 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.01043, allocations: 192 / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.01044, allocations: 0.9375 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.01045, allocations: 0.9375 kB / 0.5226 GB, free: 15.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.765e-05/0.01053, allocations: 15.92 kB / 0.5226 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002835/0.01081, allocations: 117.5 kB / 0.5228 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003103/0.01112, allocations: 52.5 kB / 0.5228 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.01119, allocations: 19.77 kB / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.01121, allocations: 0 / 0.5228 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.067e-05/0.01127, allocations: 37.39 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.01128, allocations: 0.9375 kB / 0.5229 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.001028/0.01231, allocations: 250 kB / 0.5231 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.01238, allocations: 64.38 kB / 0.5232 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.01257, allocations: 157.9 kB / 0.5233 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.0126, allocations: 25.7 kB / 0.5233 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01272, allocations: 132.3 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.949e-05/0.01277, allocations: 27.72 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.794e-05/0.01285, allocations: 31.31 kB / 0.5235 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004098/0.01326, allocations: 496.1 kB / 0.524 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.01332, allocations: 8.812 kB / 0.524 GB, free: 13.81 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.01337, allocations: 15.98 kB / 0.524 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001213/0.01349, allocations: 32.97 kB / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.01349, allocations: 0 / 0.5241 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002149/0.0137, allocations: 65.62 kB / 0.5241 GB, free: 13.69 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.01373, allocations: 12.5 kB / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01373, allocations: 0 / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.01375, allocations: 0 / 0.5241 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.01386, allocations: 12 kB / 0.5241 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.956e-05/0.01388, allocations: 7.922 kB / 0.5241 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.44e-05/0.01391, allocations: 4 kB / 0.5241 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.01392, allocations: 0 / 0.5241 GB, free: 13.66 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.0001888/0.01411, allocations: 163.3 kB / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.252e-05/0.01413, allocations: 0 / 0.5243 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.01437, allocations: 73.75 kB / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01437, allocations: 0 / 0.5244 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.01439, allocations: 7.922 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.01439, allocations: 4 kB / 0.5244 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.01503, allocations: 317.1 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01503, allocations: 4.969 kB / 0.5247 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.01515, allocations: 12 kB / 0.5247 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.01516, allocations: 3.984 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01517, allocations: 4.875 kB / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.01518, allocations: 192 / 0.5247 GB, free: 13.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/0.01518, allocations: 8.938 kB / 0.5247 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.01557, allocations: 223.6 kB / 0.5249 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.306e-05/0.01561, allocations: 12.64 kB / 0.5249 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.01564, allocations: 3.938 kB / 0.5249 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.01575, allocations: 5.25 kB / 0.525 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.0158, allocations: 7.984 kB / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.477e-06/0.01581, allocations: 0 / 0.525 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001176/0.01593, allocations: 127.2 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/0.01593, allocations: 2.438 kB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0004636/0.01639, allocations: 23.88 kB / 0.5251 GB, free: 12.6 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.0003085/0.0167, allocations: 119.2 kB / 0.5252 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002039/0.0169, allocations: 39.61 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.01691, allocations: 2.938 kB / 0.5253 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 8.554e-05/0.01699, allocations: 27.67 kB / 0.5253 GB, free: 12.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.01739, allocations: 6.062 kB / 0.5253 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006475/0.01804, allocations: 191 kB / 0.5255 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.01814, allocations: 65.84 kB / 0.5255 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 4.396e-05/0.01818, allocations: 8.375 kB / 0.5255 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.01823, allocations: 13.16 kB / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of SimCode: time 7.41e-07/0.01823, allocations: 0 / 0.5256 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of Templates: time 0.006012/0.02424, allocations: 0.6459 MB / 0.5262 GB, free: 11.52 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.141653410973959]