Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.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.0006996/0.0006996, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009315/0.001631, 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.0006795/0.0006795, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009001/0.00158, 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.911/0.911, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.001, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.896/1.896, allocations: 390 MB / 0.6193 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4643/2.36, allocations: 127.1 MB / 0.7435 GB, free: 4.539 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.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.7448 GB, free: 3.207 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.152e-05/2.304e-05, allocations: 2.312 kB / 0.7448 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002765/0.002788, allocations: 1.368 MB / 0.7462 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.003729, allocations: 0.5741 MB / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.609e-05/0.003755, allocations: 0 / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 9.307e-06/0.003764, allocations: 1.094 kB / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.003792, allocations: 0.5469 kB / 0.7467 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004467/0.004239, allocations: 142.8 kB / 0.7469 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.227e-05/0.004301, allocations: 11.39 kB / 0.7469 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.475e-05/0.004346, allocations: 4.75 kB / 0.7469 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.69e-05/0.004403, allocations: 13.55 kB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.969e-05/0.004463, allocations: 1.203 kB / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.004477, allocations: 0 / 0.7469 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005664/0.005044, allocations: 338.9 kB / 0.7472 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.005062, allocations: 3.938 kB / 0.7472 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.005078, allocations: 4 kB / 0.7472 GB, free: 0.8047 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002578/0.005336, allocations: 119.7 kB / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.005351, allocations: 0 / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005352, allocations: 0 / 0.7473 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.005368, allocations: 0 / 0.7473 GB, free: 0.6875 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004522/0.00582, allocations: 268.2 kB / 0.7476 GB, free: 408 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.00586, allocations: 12.03 kB / 0.7476 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.005898, allocations: 5.547 kB / 0.7476 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.00601, allocations: 106.5 kB / 0.7477 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.006023, allocations: 384 / 0.7477 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.006035, allocations: 0.9062 kB / 0.7477 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.382e-05/0.006118, allocations: 38.83 kB / 0.7477 GB, free: 216 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.006129, allocations: 4.172 kB / 0.7477 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.006136, allocations: 0.9688 kB / 0.7477 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.006142, allocations: 1.875 kB / 0.7478 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.559e-05/0.006158, allocations: 11.92 kB / 0.7478 GB, free: 200 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.006265, allocations: 53.05 kB / 0.7478 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.546e-05/0.00632, allocations: 27.58 kB / 0.7478 GB, free: 96 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.006335, allocations: 4.859 kB / 0.7478 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.006359, allocations: 0 / 0.7478 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.006387, allocations: 39.16 kB / 0.7479 GB, free: 40 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.31e-07/0.006388, allocations: 0.5938 kB / 0.7479 GB, free: 40 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001126/0.006501, allocations: 38.34 kB / 0.7479 GB, free: 16 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.006532, allocations: 55.41 kB / 0.748 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.347e-05/0.006596, allocations: 100.8 kB / 0.7481 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.006607, allocations: 25.7 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.459e-05/0.006632, allocations: 84.14 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.006657, allocations: 3.953 kB / 0.7482 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.006685, allocations: 14.5 kB / 0.7482 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.006776, allocations: 318.8 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-06/0.006783, allocations: 0.5312 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.908e-06/0.006793, allocations: 6.734 kB / 0.7485 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.865e-05/0.006821, allocations: 16.78 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.006823, allocations: 0 / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.652e-05/0.00688, allocations: 38.66 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.006896, allocations: 10.03 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006901, allocations: 0 / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.006915, allocations: 0.5 kB / 0.7486 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.007053, allocations: 12.73 kB / 0.7486 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003717/0.007424, allocations: 0.5841 MB / 0.7491 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.025e-05/0.007445, allocations: 7.938 kB / 0.7492 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.00745, allocations: 0 / 0.7492 GB, free: 14.66 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.007509, allocations: 105.8 kB / 0.7493 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.288e-06/0.007519, allocations: 6.75 kB / 0.7493 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.007605, allocations: 41 kB / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.007608, allocations: 3.938 kB / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.007609, allocations: 0 / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007612, allocations: 0 / 0.7493 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.785e-05/0.00768, allocations: 61.91 kB / 0.7494 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.007682, allocations: 0 / 0.7494 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.786e-05/0.00776, allocations: 22.8 kB / 0.7494 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-06/0.007768, allocations: 3.938 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.00777, allocations: 0 / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.007776, allocations: 4 kB / 0.7494 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002431/0.008019, allocations: 0.582 MB / 0.75 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.008022, allocations: 3.984 kB / 0.75 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.646e-05/0.008078, allocations: 66.7 kB / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-06/0.008087, allocations: 0 / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.108e-05/0.008098, allocations: 0 / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.288e-05/0.008111, allocations: 3.984 kB / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.008114, allocations: 0.875 kB / 0.75 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.406e-05/0.008128, allocations: 8.859 kB / 0.75 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8e-08/0.008128, allocations: 1.25 kB / 0.75 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001975/0.008325, allocations: 19.94 kB / 0.7501 GB, free: 13.66 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002018/0.008527, allocations: 118 kB / 0.7502 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.906e-05/0.008626, allocations: 16.86 kB / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.00863, allocations: 0 / 0.7502 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.602e-05/0.008666, allocations: 22 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.785e-05/0.008744, allocations: 4.562 kB / 0.7502 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.00928, allocations: 110.5 kB / 0.7503 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.087e-05/0.009311, allocations: 51.36 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.419e-05/0.009335, allocations: 0.6875 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.00937, allocations: 51.88 kB / 0.7504 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/0.009371, allocations: 0.7812 kB / 0.7504 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of Templates: time 0.0027/0.01207, allocations: 0.6301 MB / 0.751 GB, free: 12.68 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.717142746783793]