Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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.0006437/0.0006437, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009775/0.001621, 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.0006873/0.0006873, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009194/0.001607, 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.9483/0.9483, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08489/1.033, 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.853/1.853, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4611/2.314, allocations: 127.1 MB / 0.7435 GB, free: 4.512 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0.5469 kB / 0.7448 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.477e-05/1.577e-05, allocations: 8.219 kB / 0.7448 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001553/0.001568, allocations: 1.37 MB / 0.7462 GB, free: 1.824 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.002188, allocations: 0.5692 MB / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.443e-05/0.002203, allocations: 0 / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.889e-06/0.002208, allocations: 0 / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 1.714e-05/0.002225, allocations: 1.859 kB / 0.7467 GB, free: 1.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002697/0.002494, allocations: 151.1 kB / 0.7469 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 3.867e-05/0.002533, allocations: 8.156 kB / 0.7469 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 2.495e-05/0.002558, allocations: 3.984 kB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.638e-05/0.002594, allocations: 8.656 kB / 0.7469 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.805e-05/0.002632, allocations: 6.234 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.00264, allocations: 0.875 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002841/0.002925, allocations: 259 kB / 0.7471 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-06/0.002934, allocations: 0 / 0.7471 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.234e-05/0.002947, allocations: 4.906 kB / 0.7471 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.003109, allocations: 123.6 kB / 0.7473 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.003119, allocations: 3.344 kB / 0.7473 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.61e-07/0.00312, allocations: 0 / 0.7473 GB, free: 0.7344 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.313e-05/0.003133, allocations: 0 / 0.7473 GB, free: 0.7344 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.0002959/0.003429, allocations: 268.3 kB / 0.7475 GB, free: 456 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.003457, allocations: 11.97 kB / 0.7475 GB, free: 444 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.003482, allocations: 8.938 kB / 0.7475 GB, free: 436 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.278e-05/0.003555, allocations: 105.7 kB / 0.7476 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.003562, allocations: 384 / 0.7476 GB, free: 304 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.003571, allocations: 4.375 kB / 0.7476 GB, free: 300 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.093e-05/0.003622, allocations: 30.88 kB / 0.7477 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.801e-06/0.003628, allocations: 0.875 kB / 0.7477 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-06/0.003632, allocations: 384 / 0.7477 GB, free: 264 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.003655, allocations: 4.906 kB / 0.7477 GB, free: 260 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.061e-05/0.003666, allocations: 4.562 kB / 0.7477 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.961e-05/0.003735, allocations: 60.98 kB / 0.7477 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.459e-05/0.00377, allocations: 27.14 kB / 0.7478 GB, free: 144 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.141e-05/0.003781, allocations: 10.36 kB / 0.7478 GB, free: 132 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.003795, allocations: 8.047 kB / 0.7478 GB, free: 124 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.74e-05/0.003812, allocations: 30.56 kB / 0.7478 GB, free: 84 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 5.91e-07/0.003813, allocations: 1.062 kB / 0.7478 GB, free: 84 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 6.681e-05/0.00388, allocations: 37.64 kB / 0.7479 GB, free: 40 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.003911, allocations: 52.16 kB / 0.7479 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.451e-05/0.003956, allocations: 102.7 kB / 0.748 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-06/0.003966, allocations: 26.36 kB / 0.748 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.867e-05/0.003984, allocations: 84.78 kB / 0.7481 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.004002, allocations: 3.953 kB / 0.7481 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/0.004022, allocations: 19.25 kB / 0.7481 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.00409, allocations: 314.8 kB / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-06/0.004096, allocations: 4 kB / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.959e-06/0.004101, allocations: 1.172 kB / 0.7484 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.752e-05/0.004118, allocations: 14.28 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.004119, allocations: 0 / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.207e-05/0.004151, allocations: 38.3 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.004161, allocations: 4 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.004165, allocations: 0.5312 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004175, allocations: 1.719 kB / 0.7485 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.994e-05/0.004275, allocations: 11.98 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002281/0.004503, allocations: 0.5859 MB / 0.7491 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.279e-05/0.004516, allocations: 0.8125 kB / 0.7491 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.707e-06/0.004519, allocations: 0 / 0.7491 GB, free: 14.71 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.954e-05/0.004579, allocations: 114.3 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.152e-06/0.004585, allocations: 4.734 kB / 0.7492 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.004642, allocations: 39.3 kB / 0.7492 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.004645, allocations: 7.938 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.004646, allocations: 0 / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00465, allocations: 3.984 kB / 0.7492 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.682e-05/0.004697, allocations: 61.91 kB / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.004698, allocations: 0 / 0.7493 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.004738, allocations: 10.75 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.912e-06/0.004744, allocations: 7.984 kB / 0.7493 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.004746, allocations: 3.938 kB / 0.7493 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.00475, allocations: 3.984 kB / 0.7493 GB, free: 14.44 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001696/0.00492, allocations: 0.5898 MB / 0.7499 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.004921, allocations: 0 / 0.7499 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.567e-05/0.004956, allocations: 63.78 kB / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-06/0.004963, allocations: 0 / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.982e-06/0.004968, allocations: 0 / 0.75 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.967e-06/0.004977, allocations: 4 kB / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.004979, allocations: 0 / 0.75 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.247e-06/0.004988, allocations: 8.859 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004988, allocations: 1.688 kB / 0.75 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001201/0.005108, allocations: 27.86 kB / 0.75 GB, free: 13.7 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.000122/0.00523, allocations: 104.3 kB / 0.7501 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.887e-05/0.005299, allocations: 25.64 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.005302, allocations: 1.125 kB / 0.7501 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.005325, allocations: 12.86 kB / 0.7501 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.859e-05/0.005373, allocations: 9.688 kB / 0.7501 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.005739, allocations: 104.7 kB / 0.7502 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.383e-05/0.005763, allocations: 56.56 kB / 0.7503 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.005779, allocations: 4 kB / 0.7503 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.005803, allocations: 48.03 kB / 0.7503 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of SimCode: time 7.72e-07/0.005804, allocations: 5.062 kB / 0.7504 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of Templates: time 0.00189/0.007694, allocations: 0.6272 MB / 0.751 GB, free: 12.72 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.666413811966777]