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.001301/0.001301, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.001107/0.001107, allocations: 163.2 kB / 25.05 MB, free: 9.148 MB / 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 0.9309/0.9309, allocations: 177.1 MB / 205.5 MB, free: 5.477 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 1.967/1.967, allocations: 389.6 MB / 0.6363 GB, free: 12.29 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.663e-06/1.663e-06, allocations: 0 / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.346e-05, allocations: 7.562 kB / 0.7761 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002801/0.002825, allocations: 1.358 MB / 0.7775 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009601/0.003785, allocations: 0.5495 MB / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.003812, allocations: 0 / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.366e-05/0.003836, allocations: 0 / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.382e-05/0.00389, allocations: 4.094 kB / 0.778 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005585/0.004448, allocations: 141.9 kB / 0.7781 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.617e-05/0.004504, allocations: 11.92 kB / 0.7782 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.004549, allocations: 4.625 kB / 0.7782 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.004586, allocations: 0 / 0.7782 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.474e-05/0.004631, allocations: 8.672 kB / 0.7782 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.004643, allocations: 3.938 kB / 0.7782 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004587/0.005102, allocations: 272.2 kB / 0.7784 GB, free: 3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.585e-05/0.005118, allocations: 3.984 kB / 0.7784 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.005137, allocations: 12.52 kB / 0.7784 GB, free: 2.984 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002539/0.00539, allocations: 141.1 kB / 0.7786 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.005393, allocations: 0 / 0.7786 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.71e-07/0.005394, allocations: 0 / 0.7786 GB, free: 2.848 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.958e-06/0.005398, allocations: 0 / 0.7786 GB, free: 2.848 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.000329/0.005727, allocations: 265.4 kB / 0.7788 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.005768, allocations: 8.75 kB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.005796, allocations: 0.9375 kB / 0.7788 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.005897, allocations: 110.7 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.005908, allocations: 384 / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.005918, allocations: 1.031 kB / 0.7789 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.269e-05/0.00599, allocations: 30.27 kB / 0.779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.005998, allocations: 0.9375 kB / 0.779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.006006, allocations: 8.344 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006012, allocations: 1.875 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.604e-05/0.006028, allocations: 11.88 kB / 0.779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.602e-05/0.006124, allocations: 61.39 kB / 0.7791 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.333e-05/0.006167, allocations: 19.14 kB / 0.7791 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.199e-05/0.006179, allocations: 5.516 kB / 0.7791 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.372e-05/0.006193, allocations: 0 / 0.7791 GB, free: 2.258 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.00622, allocations: 35.34 kB / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.263e-06/0.006221, allocations: 0 / 0.7791 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001085/0.00633, allocations: 39.06 kB / 0.7792 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.006368, allocations: 55.41 kB / 0.7792 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.77e-05/0.006426, allocations: 95.38 kB / 0.7793 GB, free: 2 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.006439, allocations: 25.7 kB / 0.7793 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.006467, allocations: 89.86 kB / 0.7794 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.006494, allocations: 11.88 kB / 0.7794 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.006527, allocations: 17.7 kB / 0.7794 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.789e-05/0.006615, allocations: 314.8 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-06/0.006623, allocations: 0.8125 kB / 0.7797 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.546e-06/0.006631, allocations: 4 kB / 0.7797 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.006659, allocations: 14.05 kB / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.006661, allocations: 0 / 0.7798 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.946e-05/0.00672, allocations: 39.06 kB / 0.7798 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.006734, allocations: 4 kB / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.006738, allocations: 0 / 0.7798 GB, free: 1.461 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.006747, allocations: 3.938 kB / 0.7798 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.006875, allocations: 12.86 kB / 0.7798 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003189/0.007194, allocations: 0.5903 MB / 0.7804 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.77e-05/0.007212, allocations: 4.781 kB / 0.7804 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.007216, allocations: 0 / 0.7804 GB, free: 0.8281 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 6.569e-05/0.007282, allocations: 107.6 kB / 0.7805 GB, free: 0.7148 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.855e-06/0.00729, allocations: 4 kB / 0.7805 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001004/0.00739, allocations: 44.98 kB / 0.7805 GB, free: 0.6641 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.007394, allocations: 4.469 kB / 0.7805 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.007396, allocations: 1.062 kB / 0.7805 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.0074, allocations: 0 / 0.7805 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.419e-05/0.007474, allocations: 65.91 kB / 0.7806 GB, free: 0.5781 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.007477, allocations: 4.516 kB / 0.7806 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.00755, allocations: 9.125 kB / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.007552, allocations: 0 / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.007557, allocations: 0 / 0.7806 GB, free: 0.5664 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002754/0.007833, allocations: 0.5828 MB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.007834, allocations: 0.5 kB / 0.7812 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.022e-05/0.007894, allocations: 65.95 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.077e-06/0.007903, allocations: 3.938 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.086e-06/0.007911, allocations: 4.938 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.204e-05/0.007923, allocations: 3.984 kB / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.302e-05/0.007936, allocations: 0 / 0.7813 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/0.007939, allocations: 4.531 kB / 0.7813 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.418e-05/0.007953, allocations: 9.578 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007953, allocations: 1.219 kB / 0.7813 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001677/0.008121, allocations: 7.938 kB / 0.7813 GB, free: 15.84 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.0001505/0.008272, allocations: 89.5 kB / 0.7814 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.008425, allocations: 20.84 kB / 0.7814 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.008429, allocations: 6.75 kB / 0.7814 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/0.008476, allocations: 20.84 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.446e-05/0.008551, allocations: 4.641 kB / 0.7814 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002681/0.008819, allocations: 119 kB / 0.7815 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.257e-05/0.008851, allocations: 51.36 kB / 0.7816 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.107e-05/0.008873, allocations: 4 kB / 0.7816 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.104e-05/0.008904, allocations: 47.38 kB / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.008904, allocations: 0 / 0.7816 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of Templates: time 0.002736/0.01164, allocations: 0.54 MB / 0.7822 GB, free: 14.96 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 -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.8417123118415475]