Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_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.001062/0.001062, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00186/0.002923, allocations: 449.8 kB / 10.44 MB, free: 252 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.001092/0.001092, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001468/0.002561, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9582/0.9582, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08392/1.042, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.882/1.882, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4684/2.351, allocations: 127.1 MB / 0.7435 GB, free: 4.543 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 0.7448 GB, free: 3.211 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.098e-05/2.237e-05, allocations: 4.422 kB / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.002376/0.002398, allocations: 1.403 MB / 0.7462 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009425/0.003341, allocations: 0.6047 MB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.088e-05/0.003362, allocations: 0 / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.003375, allocations: 7.922 kB / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.513e-05/0.0034, allocations: 3.594 kB / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.003833, allocations: 162.8 kB / 0.747 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.588e-05/0.003908, allocations: 32.27 kB / 0.747 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.003948, allocations: 0.5469 kB / 0.747 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.669e-05/0.004014, allocations: 27.91 kB / 0.747 GB, free: 1.02 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.004084, allocations: 7.984 kB / 0.747 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.0041, allocations: 5.031 kB / 0.747 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.004613, allocations: 327.3 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.004636, allocations: 8.656 kB / 0.7474 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.00466, allocations: 8 kB / 0.7474 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002503/0.00491, allocations: 144.2 kB / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.302e-05/0.004923, allocations: 0 / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.61e-07/0.004924, allocations: 0.625 kB / 0.7475 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.429e-05/0.004938, allocations: 0 / 0.7475 GB, free: 0.5312 MB / 0.7136 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.000418/0.005356, allocations: 289.8 kB / 0.7478 GB, free: 228 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.005388, allocations: 8.031 kB / 0.7478 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.905e-05/0.005427, allocations: 12.92 kB / 0.7478 GB, free: 208 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.854e-05/0.005516, allocations: 108 kB / 0.7479 GB, free: 76 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.005526, allocations: 4.375 kB / 0.7479 GB, free: 72 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.005556, allocations: 4.375 kB / 0.7479 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.005684, allocations: 101.6 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.005694, allocations: 192 / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.924e-06/0.005702, allocations: 384 / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.005708, allocations: 4.375 kB / 0.748 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.173e-05/0.00574, allocations: 10.38 kB / 0.748 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001115/0.005852, allocations: 77.03 kB / 0.7481 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.005945, allocations: 46.55 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.00597, allocations: 13.09 kB / 0.7481 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.00599, allocations: 7.938 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.006018, allocations: 36.05 kB / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.00602, allocations: 0 / 0.7482 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.001023/0.007043, allocations: 437.8 kB / 0.7486 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.007073, allocations: 58.16 kB / 0.7487 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.156e-05/0.007144, allocations: 106.6 kB / 0.7488 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.007177, allocations: 37.64 kB / 0.7488 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.183e-05/0.007199, allocations: 80.14 kB / 0.7489 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.007233, allocations: 39.64 kB / 0.7489 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.007265, allocations: 29.7 kB / 0.7489 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.602e-05/0.007331, allocations: 318.8 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.766e-05/0.007349, allocations: 14.73 kB / 0.7493 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.007363, allocations: 8 kB / 0.7493 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.007406, allocations: 47.12 kB / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.007407, allocations: 0 / 0.7493 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.433e-05/0.007471, allocations: 65.67 kB / 0.7494 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.007484, allocations: 6.031 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.007487, allocations: 0 / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.007501, allocations: 8.625 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.655e-05/0.007567, allocations: 27.92 kB / 0.7494 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.007571, allocations: 4.625 kB / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.23e-05/0.007583, allocations: 0 / 0.7494 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.00759, allocations: 8.531 kB / 0.7494 GB, free: 14.36 MB / 0.7292 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 4.729e-05/0.007637, allocations: 106.5 kB / 0.7495 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.858e-06/0.007647, allocations: 12.77 kB / 0.7495 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.007741, allocations: 81.72 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.007742, allocations: 0.625 kB / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.007744, allocations: 0 / 0.7496 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.007747, allocations: 4.844 kB / 0.7496 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001884/0.007936, allocations: 222.8 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.007937, allocations: 1.438 kB / 0.7498 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.112e-05/0.007998, allocations: 27.92 kB / 0.7499 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-06/0.008004, allocations: 7.953 kB / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.008006, allocations: 0 / 0.7499 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.008013, allocations: 8.594 kB / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.008014, allocations: 0 / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.008015, allocations: 0.5312 kB / 0.7499 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.008137, allocations: 181.2 kB / 0.7501 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.008147, allocations: 4 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.671e-05/0.008184, allocations: 0 / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.819e-05/0.008202, allocations: 19.86 kB / 0.7501 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.008207, allocations: 0.8438 kB / 0.7501 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.048e-05/0.008217, allocations: 12.8 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008217, allocations: 0.5 kB / 0.7501 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001684/0.008386, allocations: 64.48 kB / 0.7502 GB, free: 13.57 MB / 0.7292 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.0001858/0.008571, allocations: 157.7 kB / 0.7503 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.965e-05/0.008651, allocations: 52.77 kB / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.008656, allocations: 0 / 0.7504 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.163e-05/0.008688, allocations: 41.22 kB / 0.7504 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000106/0.008794, allocations: 9.203 kB / 0.7504 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008946/0.009688, allocations: 186 kB / 0.7506 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.00972, allocations: 59.34 kB / 0.7506 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.009752, allocations: 17.19 kB / 0.7507 GB, free: 13 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/0.009799, allocations: 67.36 kB / 0.7507 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of SimCode: time 7.21e-07/0.009799, allocations: 0 / 0.7507 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of Templates: time 0.004975/0.01477, allocations: 1.567 MB / 0.7522 GB, free: 11.5 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.786621564999223]