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.001468/0.001468, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.001217/0.001217, allocations: 161 kB / 24.16 MB, free: 328 kB / 18.57 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 1.108/1.108, allocations: 177.1 MB / 204.6 MB, free: 5.316 MB / 186.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.036/2.036, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 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.353e-06/1.353e-06, allocations: 0 / 0.7752 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.7e-05/1.835e-05, allocations: 5.266 kB / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001738/0.001756, allocations: 1.355 MB / 0.7765 GB, free: 4.031 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.002506, allocations: 0.5584 MB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.192e-05/0.002528, allocations: 0 / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.002545, allocations: 0 / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.002593, allocations: 1.094 kB / 0.7771 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.00298, allocations: 145.2 kB / 0.7772 GB, free: 3.355 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 4.564e-05/0.003026, allocations: 14.44 kB / 0.7772 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.003061, allocations: 3.984 kB / 0.7772 GB, free: 3.34 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.294e-05/0.003094, allocations: 8 kB / 0.7772 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.078e-05/0.003135, allocations: 4 kB / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.003145, allocations: 0 / 0.7772 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.00347, allocations: 275.4 kB / 0.7775 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.135e-05/0.003481, allocations: 3.938 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.003493, allocations: 3.781 kB / 0.7775 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.003681, allocations: 155.5 kB / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.003683, allocations: 0 / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.003684, allocations: 0 / 0.7777 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.003687, allocations: 0 / 0.7777 GB, free: 2.902 MB / 0.7292 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.0002395/0.003927, allocations: 248.3 kB / 0.7779 GB, free: 2.633 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.003959, allocations: 12.75 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.208e-05/0.003981, allocations: 0.9375 kB / 0.7779 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.348e-05/0.004055, allocations: 109.8 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.004064, allocations: 384 / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.761e-06/0.00407, allocations: 7.156 kB / 0.778 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.375e-05/0.004123, allocations: 30.27 kB / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.00413, allocations: 192 / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.004135, allocations: 384 / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004141, allocations: 384 / 0.778 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.419e-05/0.004155, allocations: 15.81 kB / 0.7781 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.14e-05/0.004236, allocations: 53.39 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.629e-05/0.004272, allocations: 27.73 kB / 0.7781 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.123e-05/0.004284, allocations: 8.922 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.004294, allocations: 1.156 kB / 0.7781 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.004312, allocations: 34.56 kB / 0.7782 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 5.71e-07/0.004313, allocations: 4 kB / 0.7782 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 7.78e-05/0.004391, allocations: 34.64 kB / 0.7782 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.004416, allocations: 51.41 kB / 0.7783 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.896e-05/0.004465, allocations: 103.3 kB / 0.7784 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.136e-06/0.004473, allocations: 26.39 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.952e-05/0.004492, allocations: 84.14 kB / 0.7785 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.004513, allocations: 8.828 kB / 0.7785 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.019e-05/0.004534, allocations: 9.719 kB / 0.7785 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.986e-05/0.004603, allocations: 323.3 kB / 0.7788 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-06/0.004609, allocations: 3.984 kB / 0.7788 GB, free: 1.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.004616, allocations: 4.875 kB / 0.7788 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.892e-05/0.004635, allocations: 10.36 kB / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.004636, allocations: 0 / 0.7788 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.787e-05/0.004674, allocations: 41.64 kB / 0.7789 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.004687, allocations: 12.58 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.004691, allocations: 0 / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.004704, allocations: 0.6875 kB / 0.7789 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.004806, allocations: 4 kB / 0.7789 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002311/0.005037, allocations: 0.5837 MB / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.232e-05/0.005049, allocations: 0 / 0.7794 GB, free: 0.9062 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.99e-06/0.005054, allocations: 4 kB / 0.7794 GB, free: 0.9023 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.625e-05/0.00511, allocations: 114.8 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.048e-06/0.005114, allocations: 0.5625 kB / 0.7796 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.57e-05/0.00518, allocations: 46.25 kB / 0.7796 GB, free: 0.7344 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.005183, allocations: 3.938 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.005185, allocations: 0 / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.005187, allocations: 0.875 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.15e-05/0.005239, allocations: 65.89 kB / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.00524, allocations: 0 / 0.7797 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.005284, allocations: 12.86 kB / 0.7797 GB, free: 0.6367 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005285, allocations: 3.938 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-06/0.005289, allocations: 0.5625 kB / 0.7797 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001848/0.005473, allocations: 0.5875 MB / 0.7803 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005474, allocations: 0 / 0.7803 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.184e-05/0.005526, allocations: 57.12 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-06/0.005534, allocations: 5.156 kB / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.402e-06/0.00554, allocations: 0 / 0.7803 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-06/0.005548, allocations: 4 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.04e-05/0.005558, allocations: 4.766 kB / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.00556, allocations: 0 / 0.7803 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.238e-05/0.005573, allocations: 9.906 kB / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.005573, allocations: 0 / 0.7803 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001052/0.005678, allocations: 12.47 kB / 0.7803 GB, free: 15.91 MB / 0.7448 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.0001083/0.005786, allocations: 97.28 kB / 0.7804 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.762e-05/0.005874, allocations: 21.69 kB / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.005877, allocations: 0 / 0.7805 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.005908, allocations: 17.56 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.507e-05/0.005963, allocations: 4.062 kB / 0.7805 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.006177, allocations: 121.9 kB / 0.7806 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.462e-05/0.006202, allocations: 51.36 kB / 0.7806 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.487e-05/0.006216, allocations: 5.516 kB / 0.7807 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.00624, allocations: 51.38 kB / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.006241, allocations: 0 / 0.7807 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of Templates: time 0.0021/0.008341, allocations: 0.5405 MB / 0.7812 GB, free: 15.02 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.070496793836355]