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.0009582/0.0009582, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001061/0.001061, allocations: 161 kB / 24.17 MB, free: 332 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 0.967/0.967, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.905/1.905, allocations: 389.6 MB / 0.6354 GB, free: 12.32 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.643e-06/1.643e-06, allocations: 0 / 0.7752 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.713e-05, allocations: 2.312 kB / 0.7752 GB, free: 5.426 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002767/0.002795, allocations: 1.32 MB / 0.7764 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.00383, allocations: 0.5457 MB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.129e-05/0.003861, allocations: 0 / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.038e-05/0.003882, allocations: 0.6562 kB / 0.777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.498e-05/0.003937, allocations: 4.812 kB / 0.777 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.004558, allocations: 147.3 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.00462, allocations: 19.91 kB / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.004661, allocations: 0 / 0.7771 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.521e-05/0.004697, allocations: 4 kB / 0.7771 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.967e-05/0.004746, allocations: 4 kB / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.00476, allocations: 0 / 0.7772 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004511/0.005211, allocations: 272 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.005227, allocations: 0.6875 kB / 0.7774 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.005243, allocations: 4 kB / 0.7774 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.005523, allocations: 152 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.005527, allocations: 0 / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.322e-06/0.005528, allocations: 0.625 kB / 0.7776 GB, free: 3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005533, allocations: 4.594 kB / 0.7776 GB, free: 2.996 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.0003451/0.005878, allocations: 252.3 kB / 0.7778 GB, free: 2.723 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.005922, allocations: 10.25 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.973e-05/0.005951, allocations: 0.9375 kB / 0.7778 GB, free: 2.715 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.197e-05/0.006043, allocations: 109.8 kB / 0.7779 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.006056, allocations: 1.344 kB / 0.7779 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.363e-05/0.006069, allocations: 8.312 kB / 0.7779 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.226e-05/0.006141, allocations: 26.27 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.006149, allocations: 0.8125 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.392e-06/0.006156, allocations: 0.9375 kB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.006161, allocations: 384 / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.006175, allocations: 8.594 kB / 0.778 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001073/0.006282, allocations: 65.92 kB / 0.778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.096e-05/0.006333, allocations: 24.14 kB / 0.7781 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.535e-05/0.006348, allocations: 12.73 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.006365, allocations: 4.062 kB / 0.7781 GB, free: 2.406 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.00639, allocations: 30.56 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.006391, allocations: 0.625 kB / 0.7781 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000109/0.0065, allocations: 38.59 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.006538, allocations: 51.41 kB / 0.7782 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.516e-05/0.006603, allocations: 100.1 kB / 0.7783 GB, free: 2.152 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.006612, allocations: 25.7 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.006646, allocations: 80.14 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.006674, allocations: 8.641 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.006706, allocations: 21.7 kB / 0.7784 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.006807, allocations: 319.3 kB / 0.7787 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.127e-05/0.006818, allocations: 9.531 kB / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.913e-06/0.006825, allocations: 0 / 0.7787 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.712e-05/0.006853, allocations: 8.859 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.006855, allocations: 0.9375 kB / 0.7787 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.334e-05/0.006919, allocations: 37.69 kB / 0.7788 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.006933, allocations: 4.5 kB / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006938, allocations: 0 / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.006953, allocations: 0.75 kB / 0.7788 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.007108, allocations: 8 kB / 0.7788 GB, free: 1.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003403/0.007448, allocations: 0.5914 MB / 0.7794 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.087e-05/0.007469, allocations: 0 / 0.7794 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.007475, allocations: 0 / 0.7794 GB, free: 0.9961 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.162e-05/0.007547, allocations: 110.7 kB / 0.7795 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.007556, allocations: 5.25 kB / 0.7795 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.917e-05/0.007645, allocations: 37 kB / 0.7795 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007648, allocations: 9.625 kB / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.00765, allocations: 0 / 0.7795 GB, free: 0.8281 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.007654, allocations: 4 kB / 0.7795 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.204e-05/0.007726, allocations: 61.89 kB / 0.7796 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.007729, allocations: 4 kB / 0.7796 GB, free: 0.7422 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.007804, allocations: 13.2 kB / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.007807, allocations: 0 / 0.7796 GB, free: 0.7305 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.007813, allocations: 4 kB / 0.7796 GB, free: 0.7266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000266/0.008079, allocations: 0.5788 MB / 0.7802 GB, free: 128 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.008081, allocations: 5.062 kB / 0.7802 GB, free: 124 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.752e-05/0.008149, allocations: 65.05 kB / 0.7802 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.242e-05/0.008161, allocations: 12.59 kB / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.726e-06/0.00817, allocations: 0 / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.246e-05/0.008182, allocations: 0.5 kB / 0.7802 GB, free: 28 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.008196, allocations: 4.781 kB / 0.7802 GB, free: 24 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.008201, allocations: 3.984 kB / 0.7802 GB, free: 20 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.273e-05/0.008214, allocations: 9.797 kB / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.008214, allocations: 0 / 0.7803 GB, free: 8 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002096/0.008424, allocations: 12.52 kB / 0.7803 GB, free: 15.99 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.0001761/0.0086, allocations: 90.06 kB / 0.7804 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.00874, allocations: 20.84 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.008743, allocations: 0.5938 kB / 0.7804 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.008792, allocations: 19.58 kB / 0.7804 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.873e-05/0.008871, allocations: 7.938 kB / 0.7804 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002888/0.009159, allocations: 108.6 kB / 0.7805 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.654e-05/0.009196, allocations: 59.34 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.036e-05/0.009216, allocations: 3.031 kB / 0.7806 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.009249, allocations: 47.38 kB / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of SimCode: time 7.81e-07/0.00925, allocations: 0 / 0.7806 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.00278/0.01203, allocations: 0.5387 MB / 0.7811 GB, free: 15.12 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.966522362083197]