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.0009612/0.0009612, allocations: 80.41 kB / 20.72 MB, free: 3.824 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.001943/0.001943, allocations: 177.2 kB / 24 MB, free: 0.543 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.9464/0.9464, allocations: 177.1 MB / 204.3 MB, free: 5.746 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.927/1.927, allocations: 389.9 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.753e-06/1.753e-06, allocations: 0 / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.917e-05, allocations: 5.094 kB / 1.002 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.002126/0.002145, allocations: 1.278 MB / 1.003 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009159/0.003061, allocations: 0.5301 MB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.003092, allocations: 0 / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.003113, allocations: 7.938 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.799e-05/0.003151, allocations: 0 / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.003686, allocations: 155.2 kB / 1.004 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.014e-05/0.003746, allocations: 15.92 kB / 1.004 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.003792, allocations: 4 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 3.133e-05/0.003823, allocations: 4 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.549e-05/0.003868, allocations: 4 kB / 1.004 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.00388, allocations: 3.938 kB / 1.004 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000453/0.004333, allocations: 315.3 kB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.004347, allocations: 4 kB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.004366, allocations: 3.938 kB / 1.004 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002472/0.004613, allocations: 147.6 kB / 1.004 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.004615, allocations: 0 / 1.004 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.21e-07/0.004616, allocations: 0 / 1.004 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.767e-06/0.00462, allocations: 0 / 1.004 GB, free: 10.73 MB / 0.9636 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.0003602/0.00498, allocations: 286 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.005018, allocations: 8.031 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.382e-05/0.005051, allocations: 8.891 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.005178, allocations: 101.8 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.00519, allocations: 384 / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.005201, allocations: 4.375 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.079e-05/0.005291, allocations: 38.19 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.0053, allocations: 4.188 kB / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.005309, allocations: 384 / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.005313, allocations: 384 / 1.005 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.934e-05/0.005343, allocations: 15.92 kB / 1.005 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.005467, allocations: 93.33 kB / 1.005 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.005525, allocations: 26.61 kB / 1.005 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.005544, allocations: 4.859 kB / 1.005 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/0.005565, allocations: 0 / 1.005 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.005592, allocations: 42.56 kB / 1.005 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005593, allocations: 0 / 1.005 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2): time 0.0001502/0.005743, allocations: 41.69 kB / 1.005 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.005777, allocations: 51.41 kB / 1.005 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.005845, allocations: 101.9 kB / 1.005 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.005856, allocations: 29.7 kB / 1.005 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.005883, allocations: 80.14 kB / 1.005 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.00591, allocations: 15.88 kB / 1.005 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.663e-05/0.005937, allocations: 9.719 kB / 1.005 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.35e-05/0.00603, allocations: 318.8 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.399e-05/0.006044, allocations: 0 / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.179e-05/0.006056, allocations: 4 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.951e-05/0.006085, allocations: 12.8 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006088, allocations: 4.188 kB / 1.005 GB, free: 9.285 MB / 0.9636 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.506e-05/0.006153, allocations: 41.69 kB / 1.005 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.006167, allocations: 4 kB / 1.005 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/0.006171, allocations: 4 kB / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.006184, allocations: 0 / 1.005 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.006336, allocations: 11.98 kB / 1.005 GB, free: 9.219 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003281/0.006664, allocations: 0.5898 MB / 1.006 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.028e-05/0.006685, allocations: 4 kB / 1.006 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.006691, allocations: 3.938 kB / 1.006 GB, free: 8.598 MB / 0.9636 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.557e-05/0.006757, allocations: 114.5 kB / 1.006 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.006768, allocations: 11.89 kB / 1.006 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.89e-05/0.006866, allocations: 45 kB / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.006868, allocations: 0 / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.006874, allocations: 0 / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.006877, allocations: 0 / 1.006 GB, free: 8.414 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.983e-05/0.006956, allocations: 97.33 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.006958, allocations: 0 / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.634e-05/0.007034, allocations: 11.98 kB / 1.006 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.007037, allocations: 4.031 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.007046, allocations: 11.88 kB / 1.006 GB, free: 8.262 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002695/0.007315, allocations: 0.5782 MB / 1.007 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007316, allocations: 0 / 1.007 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.76e-05/0.007384, allocations: 69.09 kB / 1.007 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.007391, allocations: 0 / 1.007 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.007401, allocations: 0 / 1.007 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.36e-05/0.007415, allocations: 0 / 1.007 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.455e-05/0.007429, allocations: 7.922 kB / 1.007 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.007432, allocations: 4.125 kB / 1.007 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.017e-05/0.007462, allocations: 83.28 kB / 1.007 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.007463, allocations: 0 / 1.007 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002106/0.007673, allocations: 15.94 kB / 1.007 GB, free: 7.465 MB / 0.9636 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.0001724/0.007845, allocations: 119.2 kB / 1.007 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.007999, allocations: 15.98 kB / 1.007 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008001, allocations: 0 / 1.007 GB, free: 7.324 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.008066, allocations: 20.14 kB / 1.007 GB, free: 7.305 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001516/0.008217, allocations: 10.84 kB / 1.007 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.008503, allocations: 130.4 kB / 1.007 GB, free: 7.137 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.31e-05/0.008546, allocations: 59.34 kB / 1.007 GB, free: 7.059 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.008563, allocations: 8.5 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/0.008563, allocations: 3.938 kB / 1.007 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of Templates: time 0.002405/0.01097, allocations: 0.7789 MB / 1.008 GB, free: 6.273 MB / 0.9636 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 > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.9558069091290236]