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.001087/0.001087, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001427/0.002514, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001039/0.001039, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001357/0.002395, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9692/0.9692, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08635/1.056, allocations: 53.67 MB / 243.4 MB, free: 15.48 MB / 250.7 MB " [Timeout remaining time 179] 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 0.7339/0.7339, allocations: 154.6 MB / 398.8 MB, free: 388 kB / 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2507/0.9846, allocations: 49.05 MB / 447.8 MB, free: 6.582 MB / 426.7 MB " [Timeout remaining time 179] 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 1.273e-06/1.273e-06, allocations: 0 / 449.1 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.269e-05, allocations: 6.5 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.002462/0.002485, allocations: 1.368 MB / 450.5 MB, free: 3.922 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008458/0.003331, allocations: 0.576 MB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.112e-05/0.003352, allocations: 0.9062 kB / 451.1 MB, free: 3.355 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.003362, allocations: 3.938 kB / 451.1 MB, free: 3.352 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.00339, allocations: 6.062 kB / 451.1 MB, free: 3.348 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.003842, allocations: 139.7 kB / 451.2 MB, free: 3.223 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.877e-05/0.003911, allocations: 26.88 kB / 451.3 MB, free: 3.203 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.467e-05/0.003945, allocations: 3.984 kB / 451.3 MB, free: 3.199 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.004011, allocations: 12.97 kB / 451.3 MB, free: 3.188 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.962e-05/0.00406, allocations: 5.938 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.004073, allocations: 1.203 kB / 451.3 MB, free: 3.184 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004367/0.00451, allocations: 280.9 kB / 451.6 MB, free: 2.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.722e-05/0.004527, allocations: 4.531 kB / 451.6 MB, free: 2.906 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.801e-05/0.004545, allocations: 5.562 kB / 451.6 MB, free: 2.902 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.004783, allocations: 127.6 kB / 451.7 MB, free: 2.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.23e-05/0.004796, allocations: 4 kB / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.004797, allocations: 0 / 451.7 MB, free: 2.773 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.004809, allocations: 0 / 451.7 MB, free: 2.773 MB / 426.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.0003822/0.005191, allocations: 271 kB / 452 MB, free: 2.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.005225, allocations: 13.81 kB / 452 MB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.005258, allocations: 4.922 kB / 452 MB, free: 2.469 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.075e-05/0.005349, allocations: 113.7 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.005359, allocations: 0.9844 kB / 452.1 MB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.005384, allocations: 8.375 kB / 452.1 MB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.005472, allocations: 61.89 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.00548, allocations: 1.969 kB / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.602e-06/0.005486, allocations: 384 / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.005492, allocations: 384 / 452.2 MB, free: 2.254 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.005516, allocations: 11.94 kB / 452.2 MB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001026/0.005618, allocations: 77.56 kB / 452.3 MB, free: 2.152 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.005766, allocations: 35.58 kB / 452.3 MB, free: 2.109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.314e-05/0.005789, allocations: 12.86 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.005806, allocations: 0.6562 kB / 452.3 MB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.005831, allocations: 34.56 kB / 452.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.005832, allocations: 1.312 kB / 452.3 MB, free: 2.051 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005307/0.006363, allocations: 227.7 kB / 452.6 MB, free: 1.797 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.006393, allocations: 59.28 kB / 452.6 MB, free: 1.727 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.905e-05/0.006452, allocations: 103.6 kB / 452.7 MB, free: 1.613 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.006463, allocations: 29.7 kB / 452.8 MB, free: 1.578 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.006492, allocations: 90.78 kB / 452.8 MB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.611e-05/0.006519, allocations: 15.8 kB / 452.9 MB, free: 1.473 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/0.006556, allocations: 25.7 kB / 452.9 MB, free: 1.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.832e-05/0.006644, allocations: 318.8 kB / 453.2 MB, free: 1.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.006658, allocations: 4 kB / 453.2 MB, free: 1.117 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.233e-05/0.00667, allocations: 4 kB / 453.2 MB, free: 1.113 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.865e-05/0.006709, allocations: 20.84 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.00671, allocations: 0.5938 kB / 453.2 MB, free: 1.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.221e-05/0.006782, allocations: 53.61 kB / 453.3 MB, free: 1.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.006795, allocations: 9.031 kB / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.006799, allocations: 0 / 453.3 MB, free: 1.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.006813, allocations: 6.156 kB / 453.3 MB, free: 1.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.006867, allocations: 12 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.006869, allocations: 0.625 kB / 453.3 MB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.006887, allocations: 7.938 kB / 453.3 MB, free: 1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-06/0.006891, allocations: 0.625 kB / 453.3 MB, free: 1 MB / 426.7 MB 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 5.838e-05/0.00695, allocations: 110.5 kB / 453.4 MB, free: 0.8828 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.006963, allocations: 8.609 kB / 453.4 MB, free: 0.875 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001007/0.007063, allocations: 65.92 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.007065, allocations: 0.625 kB / 453.5 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.007067, allocations: 4 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.00707, allocations: 0.5938 kB / 453.5 MB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002039/0.007274, allocations: 208.5 kB / 453.7 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.007278, allocations: 3.984 kB / 453.7 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.861e-05/0.007337, allocations: 13.72 kB / 453.7 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.007354, allocations: 4 kB / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.007356, allocations: 0 / 453.7 MB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.007364, allocations: 4 kB / 453.7 MB, free: 0.5469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.007368, allocations: 7.922 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.00737, allocations: 0.7812 kB / 453.7 MB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001429/0.007513, allocations: 161.6 kB / 453.9 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.007524, allocations: 0 / 453.9 MB, free: 372 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.134e-05/0.007585, allocations: 8 kB / 453.9 MB, free: 364 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.007599, allocations: 13.59 kB / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.007604, allocations: 0 / 453.9 MB, free: 352 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.268e-05/0.007616, allocations: 14.06 kB / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.007617, allocations: 0 / 453.9 MB, free: 336 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.007875, allocations: 31.88 kB / 454 MB, free: 304 kB / 426.7 MB 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.0001887/0.008063, allocations: 113.9 kB / 454.1 MB, free: 184 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 7.369e-05/0.008137, allocations: 24.86 kB / 454.1 MB, free: 156 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.008144, allocations: 4 kB / 454.1 MB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.89e-05/0.008173, allocations: 29.39 kB / 454.1 MB, free: 120 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000164/0.008337, allocations: 4.562 kB / 454.1 MB, free: 116 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009403/0.009277, allocations: 162.6 kB / 454.3 MB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.954e-05/0.009317, allocations: 59.34 kB / 454.3 MB, free: 15.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.213e-05/0.009349, allocations: 5.438 kB / 454.4 MB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.985e-05/0.009399, allocations: 52.69 kB / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009399, allocations: 0 / 454.4 MB, free: 15.79 MB / 442.7 MB Notification: Performance of Templates: time 0.002822/0.01222, allocations: 0.8888 MB / 455.3 MB, free: 15 MB / 442.7 MB " [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: 3.435885678976774]