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.0006726/0.0006726, allocations: 76.16 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009197/0.001592, allocations: 441.7 kB / 10.32 MB, free: 380 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.0006992/0.0006992, allocations: 145.2 kB / 11.2 MB, free: 2.969 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009597/0.001659, allocations: 471.6 kB / 11.66 MB, free: 2.504 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.8989/0.8989, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0837/0.9826, allocations: 53.65 MB / 243.2 MB, free: 15.57 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 2.046/2.046, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4838/2.53, allocations: 127.1 MB / 0.7431 GB, free: 4.645 MB / 0.7136 GB " [Timeout remaining time 177] 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.704e-06/1.704e-06, allocations: 0 / 0.7444 GB, free: 3.348 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.409e-05/2.579e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.344 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_inv_DerivativeCheck2): time 0.001897/0.001923, allocations: 1.405 MB / 0.7458 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000811/0.002734, allocations: 0.611 MB / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.715e-05/0.002761, allocations: 0 / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.448e-06/0.00277, allocations: 0 / 0.7464 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.58e-05/0.002796, allocations: 7.844 kB / 0.7464 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004444/0.003241, allocations: 162.3 kB / 0.7465 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.003312, allocations: 29.77 kB / 0.7466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.712e-05/0.003359, allocations: 7.922 kB / 0.7466 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 6.491e-05/0.003424, allocations: 24.5 kB / 0.7466 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.139e-05/0.003496, allocations: 8.609 kB / 0.7466 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.003507, allocations: 0 / 0.7466 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003969/0.003904, allocations: 331.8 kB / 0.7469 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.162e-05/0.003916, allocations: 5.5 kB / 0.7469 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.776e-05/0.003933, allocations: 8 kB / 0.7469 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.004139, allocations: 139.5 kB / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.116e-05/0.00415, allocations: 0 / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.004151, allocations: 0.9688 kB / 0.7471 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.004164, allocations: 0 / 0.7471 GB, free: 0.668 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.0003458/0.004509, allocations: 284.9 kB / 0.7474 GB, free: 372 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/0.004539, allocations: 16.02 kB / 0.7474 GB, free: 356 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.004573, allocations: 5.531 kB / 0.7474 GB, free: 352 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.923e-05/0.004652, allocations: 110.3 kB / 0.7475 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.004663, allocations: 4.375 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.00469, allocations: 8.938 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.004792, allocations: 103.2 kB / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004801, allocations: 192 / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-06/0.004807, allocations: 384 / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.004812, allocations: 4.312 kB / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.004836, allocations: 11.94 kB / 0.7476 GB, free: 68 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001111/0.004947, allocations: 79.19 kB / 0.7477 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.273e-05/0.005019, allocations: 42.52 kB / 0.7477 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.502e-05/0.005045, allocations: 21.08 kB / 0.7477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.005061, allocations: 4 kB / 0.7477 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.005083, allocations: 33 kB / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.005084, allocations: 0 / 0.7478 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0007424/0.005827, allocations: 437.2 kB / 0.7482 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.401e-05/0.005851, allocations: 51.41 kB / 0.7482 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.005912, allocations: 107.4 kB / 0.7483 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.155e-05/0.005923, allocations: 31.86 kB / 0.7484 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.041e-05/0.005944, allocations: 80.14 kB / 0.7485 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.005978, allocations: 43.62 kB / 0.7485 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.397e-05/0.006012, allocations: 25.7 kB / 0.7485 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.006103, allocations: 318.8 kB / 0.7488 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.006118, allocations: 12 kB / 0.7488 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.367e-05/0.006132, allocations: 13.25 kB / 0.7488 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.267e-05/0.006175, allocations: 48.69 kB / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-06/0.006176, allocations: 0 / 0.7489 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 6.532e-05/0.006241, allocations: 68.3 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.006253, allocations: 8 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.006257, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.316e-06/0.006266, allocations: 0 / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.006336, allocations: 27.92 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.00634, allocations: 6.844 kB / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.006353, allocations: 0 / 0.749 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.006359, allocations: 8 kB / 0.749 GB, free: 14.5 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 5.186e-05/0.006411, allocations: 113.8 kB / 0.7491 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.006422, allocations: 7.984 kB / 0.7491 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.421e-05/0.006516, allocations: 77.83 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.006517, allocations: 0 / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006519, allocations: 4.562 kB / 0.7492 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.006523, allocations: 8.719 kB / 0.7492 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001885/0.006712, allocations: 218.8 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.006714, allocations: 4.625 kB / 0.7494 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.479e-05/0.006779, allocations: 19.98 kB / 0.7494 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.006781, allocations: 4.906 kB / 0.7494 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.006788, allocations: 7.938 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.006789, allocations: 1.281 kB / 0.7495 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.006791, allocations: 3.938 kB / 0.7495 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.006907, allocations: 179.5 kB / 0.7496 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.538e-05/0.006952, allocations: 8.797 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.006963, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.984e-05/0.007002, allocations: 4 kB / 0.7496 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.007018, allocations: 12.45 kB / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.007023, allocations: 1.531 kB / 0.7497 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.402e-06/0.007029, allocations: 12.8 kB / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.3e-07/0.00703, allocations: 0 / 0.7497 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001881/0.007218, allocations: 64.73 kB / 0.7497 GB, free: 13.71 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.0001926/0.00741, allocations: 166.5 kB / 0.7499 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.666e-05/0.007487, allocations: 41.34 kB / 0.7499 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.00749, allocations: 5.312 kB / 0.7499 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.213e-05/0.007512, allocations: 28.78 kB / 0.75 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000107/0.007619, allocations: 12.61 kB / 0.75 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.008052, allocations: 229.8 kB / 0.7502 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.008083, allocations: 59.34 kB / 0.7503 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.932e-05/0.008112, allocations: 17.62 kB / 0.7503 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.818e-05/0.008161, allocations: 64.3 kB / 0.7503 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of SimCode: time 9.62e-07/0.008162, allocations: 0 / 0.7503 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of Templates: time 0.002897/0.01106, allocations: 1.555 MB / 0.7518 GB, free: 11.64 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.951451143249869]