Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_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.0009964/0.0009964, allocations: 72.17 kB / 9.888 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.002216, allocations: 449.7 kB / 10.33 MB, free: 372 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.001071/0.001071, allocations: 149.2 kB / 11.21 MB, free: 2.961 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001341/0.002412, allocations: 463.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.9202/0.9202, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08075/1.001, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.795/1.795, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4713/2.266, allocations: 127.1 MB / 0.7431 GB, free: 4.637 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_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.926e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.363 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck): time 0.001704/0.001723, allocations: 1.389 MB / 0.7458 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000668/0.002391, allocations: 0.5885 MB / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.002412, allocations: 0 / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.043e-06/0.002419, allocations: 0 / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.002445, allocations: 2.234 kB / 0.7463 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.002824, allocations: 158.3 kB / 0.7465 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.002884, allocations: 20.2 kB / 0.7465 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.002918, allocations: 4.953 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.789e-05/0.002975, allocations: 19.91 kB / 0.7465 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.177e-05/0.003017, allocations: 4.594 kB / 0.7465 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.003027, allocations: 0 / 0.7465 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000362/0.003389, allocations: 328 kB / 0.7469 GB, free: 0.9023 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.003401, allocations: 7.875 kB / 0.7469 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.345e-05/0.003415, allocations: 4.656 kB / 0.7469 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.003618, allocations: 132.2 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.206e-05/0.00363, allocations: 0 / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.01e-07/0.003631, allocations: 1.531 kB / 0.747 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.849e-06/0.003641, allocations: 0 / 0.747 GB, free: 0.7617 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003324/0.003973, allocations: 284.2 kB / 0.7473 GB, free: 468 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.004004, allocations: 12.03 kB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.061e-05/0.004035, allocations: 3.031 kB / 0.7473 GB, free: 456 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.365e-05/0.004108, allocations: 113.7 kB / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.004116, allocations: 384 / 0.7474 GB, free: 316 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.00414, allocations: 8.375 kB / 0.7474 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.834e-05/0.004218, allocations: 59.95 kB / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.004224, allocations: 2.625 kB / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.004231, allocations: 384 / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004235, allocations: 384 / 0.7475 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.046e-05/0.004255, allocations: 15.92 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.345e-05/0.004339, allocations: 61.05 kB / 0.7475 GB, free: 144 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.004461, allocations: 38.53 kB / 0.7476 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.59e-05/0.004477, allocations: 14.55 kB / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.004492, allocations: 0 / 0.7476 GB, free: 80 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.004518, allocations: 34.56 kB / 0.7476 GB, free: 36 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 5.01e-07/0.004519, allocations: 0 / 0.7476 GB, free: 36 kB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0005263/0.005045, allocations: 236.1 kB / 0.7478 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.005067, allocations: 51.41 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.627e-05/0.005114, allocations: 103.2 kB / 0.748 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.206e-06/0.005122, allocations: 25.7 kB / 0.748 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.005145, allocations: 88.12 kB / 0.7481 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.005169, allocations: 19.8 kB / 0.7481 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-05/0.005195, allocations: 28.45 kB / 0.7481 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.86e-05/0.005264, allocations: 318.8 kB / 0.7484 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.658e-06/0.005274, allocations: 4 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.939e-06/0.005284, allocations: 4 kB / 0.7485 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.005311, allocations: 20.84 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.005313, allocations: 4.062 kB / 0.7485 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7) (initialization): time 5.025e-05/0.005363, allocations: 57.59 kB / 0.7485 GB, free: 15.01 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.005375, allocations: 10.94 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.005378, allocations: 48 / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.054e-06/0.005385, allocations: 3.984 kB / 0.7485 GB, free: 15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.732e-05/0.005423, allocations: 12 kB / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.005425, allocations: 0 / 0.7486 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.155e-05/0.005437, allocations: 11.88 kB / 0.7486 GB, free: 14.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.005445, allocations: 0 / 0.7486 GB, free: 14.97 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 (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 4.734e-05/0.005492, allocations: 110.5 kB / 0.7487 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.0055, allocations: 7.984 kB / 0.7487 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.825e-05/0.005578, allocations: 62.38 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.00558, allocations: 0 / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.005582, allocations: 0.5312 kB / 0.7487 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.005586, allocations: 8.609 kB / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.005753, allocations: 208.4 kB / 0.749 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.005755, allocations: 4 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.864e-05/0.005794, allocations: 8 kB / 0.749 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.005796, allocations: 4.625 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005802, allocations: 0.9062 kB / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.005803, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.005804, allocations: 0 / 0.749 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/0.005907, allocations: 165.5 kB / 0.7491 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.005922, allocations: 7.984 kB / 0.7491 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.224e-06/0.005929, allocations: 192 / 0.7491 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.005964, allocations: 8.844 kB / 0.7491 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.175e-05/0.005976, allocations: 7.938 kB / 0.7491 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.449e-06/0.00598, allocations: 4.516 kB / 0.7492 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.225e-06/0.005988, allocations: 10.36 kB / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005988, allocations: 0 / 0.7492 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001616/0.00615, allocations: 35.81 kB / 0.7492 GB, free: 14.28 MB / 0.7292 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.0001663/0.006316, allocations: 140 kB / 0.7493 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.097e-05/0.006387, allocations: 33 kB / 0.7494 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.006391, allocations: 0.5 kB / 0.7494 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.572e-05/0.006406, allocations: 22.47 kB / 0.7494 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001077/0.006514, allocations: 12.59 kB / 0.7494 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004118/0.006926, allocations: 210.5 kB / 0.7496 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.643e-05/0.006962, allocations: 67.34 kB / 0.7497 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.007002, allocations: 55.38 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of SimCode: time 4.5e-07/0.007002, allocations: 4.812 kB / 0.7497 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.001647/0.00865, allocations: 1.018 MB / 0.7507 GB, free: 12.74 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_inv_DerivativeCheck.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 5.388496952131391]