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.0006376/0.0006376, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008167/0.001454, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006596/0.0006596, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008668/0.001526, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9381/0.9381, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07939/1.018, allocations: 53.64 MB / 243.2 MB, free: 15.59 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.932/1.932, allocations: 389.9 MB / 0.619 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4843/2.416, allocations: 127.1 MB / 0.7432 GB, free: 4.629 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.593e-06/1.593e-06, allocations: 0 / 0.7445 GB, free: 3.324 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.505e-05, allocations: 3.094 kB / 0.7445 GB, free: 3.32 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002921/0.002946, allocations: 1.373 MB / 0.7458 GB, free: 1.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009012/0.003848, allocations: 0.5719 MB / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.073e-05/0.003868, allocations: 1.094 kB / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 8.606e-06/0.003877, allocations: 0 / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.521e-05/0.003902, allocations: 0.6562 kB / 0.7464 GB, free: 1.402 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.004373, allocations: 139.2 kB / 0.7465 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.103e-05/0.004435, allocations: 12.03 kB / 0.7465 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.315e-05/0.004478, allocations: 7.984 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.004534, allocations: 10.47 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.004591, allocations: 4.766 kB / 0.7466 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.004604, allocations: 0 / 0.7466 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005455/0.00515, allocations: 328.5 kB / 0.7469 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.36e-05/0.005164, allocations: 1 kB / 0.7469 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.005188, allocations: 7.938 kB / 0.7469 GB, free: 0.9219 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.005454, allocations: 124.2 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.161e-05/0.005475, allocations: 0 / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.072e-06/0.005477, allocations: 0.7188 kB / 0.747 GB, free: 0.8008 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.005499, allocations: 0 / 0.747 GB, free: 0.8008 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.0005271/0.006026, allocations: 273.8 kB / 0.7473 GB, free: 0.5078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.006068, allocations: 8.031 kB / 0.7473 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.246e-05/0.006101, allocations: 0.9375 kB / 0.7473 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001122/0.006213, allocations: 106.9 kB / 0.7474 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.006226, allocations: 384 / 0.7474 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.006233, allocations: 384 / 0.7474 GB, free: 380 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.983e-05/0.006313, allocations: 39.38 kB / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.00632, allocations: 192 / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.002e-06/0.006326, allocations: 384 / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.006333, allocations: 1.531 kB / 0.7474 GB, free: 336 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.00635, allocations: 11.88 kB / 0.7474 GB, free: 324 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001048/0.006455, allocations: 61.05 kB / 0.7475 GB, free: 248 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.902e-05/0.006504, allocations: 19.55 kB / 0.7475 GB, free: 220 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.006519, allocations: 6.031 kB / 0.7475 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.006546, allocations: 8.766 kB / 0.7475 GB, free: 204 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.006571, allocations: 30.56 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.006572, allocations: 3.375 kB / 0.7475 GB, free: 164 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001114/0.006683, allocations: 41.62 kB / 0.7476 GB, free: 116 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.00672, allocations: 51.41 kB / 0.7476 GB, free: 52 kB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.349e-05/0.006803, allocations: 102.7 kB / 0.7477 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.006816, allocations: 25.7 kB / 0.7478 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.935e-05/0.006846, allocations: 88.12 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.006875, allocations: 3.953 kB / 0.7478 GB, free: 15.81 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.006905, allocations: 21.22 kB / 0.7479 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.007001, allocations: 314.8 kB / 0.7482 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-06/0.00701, allocations: 4 kB / 0.7482 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-06/0.007018, allocations: 0 / 0.7482 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.721e-05/0.007055, allocations: 20.77 kB / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007057, allocations: 0 / 0.7482 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.167e-05/0.007119, allocations: 33.7 kB / 0.7482 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.007133, allocations: 4 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.007138, allocations: 2.938 kB / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.00715, allocations: 0 / 0.7482 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.007313, allocations: 11.98 kB / 0.7482 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003557/0.007669, allocations: 0.5898 MB / 0.7488 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.537e-05/0.007694, allocations: 4 kB / 0.7488 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.88e-06/0.007699, allocations: 0 / 0.7488 GB, free: 14.77 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 7.431e-05/0.007774, allocations: 113.8 kB / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.155e-06/0.007782, allocations: 0 / 0.7489 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.815e-05/0.00788, allocations: 41 kB / 0.749 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.007884, allocations: 3.938 kB / 0.749 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007886, allocations: 4 kB / 0.749 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.007889, allocations: 3.938 kB / 0.749 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001069/0.007996, allocations: 65.89 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.007998, allocations: 0 / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.00808, allocations: 4 kB / 0.749 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.197e-05/0.008092, allocations: 12.48 kB / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.008096, allocations: 3.438 kB / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.258e-06/0.008101, allocations: 0 / 0.7491 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002341/0.008335, allocations: 0.5859 MB / 0.7496 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.008336, allocations: 0 / 0.7496 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.317e-05/0.008389, allocations: 65.06 kB / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-06/0.008397, allocations: 0 / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-06/0.008406, allocations: 0 / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.008418, allocations: 6.688 kB / 0.7497 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.008421, allocations: 4 kB / 0.7497 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.276e-05/0.008434, allocations: 4.859 kB / 0.7497 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.008434, allocations: 0 / 0.7497 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001281/0.008562, allocations: 19.94 kB / 0.7497 GB, free: 13.78 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.0001913/0.008754, allocations: 117.8 kB / 0.7498 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001009/0.008855, allocations: 12.86 kB / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.008858, allocations: 0 / 0.7498 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.838e-05/0.008887, allocations: 21.38 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.973e-05/0.008956, allocations: 1.547 kB / 0.7499 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.009431, allocations: 109.5 kB / 0.75 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.009463, allocations: 56.8 kB / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.173e-05/0.009484, allocations: 0 / 0.75 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.009519, allocations: 52.03 kB / 0.7501 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of SimCode: time 8.62e-07/0.00952, allocations: 0 / 0.7501 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of Templates: time 0.002389/0.01191, allocations: 0.6201 MB / 0.7507 GB, free: 12.8 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.780948420986533]