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.0009176/0.0009176, allocations: 112.7 kB / 20.48 MB, free: 4.602 MB / 13.93 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.0008591/0.0008591, allocations: 225.5 kB / 23.78 MB, free: 2.105 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.9484/0.9484, allocations: 230.6 MB / 257.5 MB, free: 9.566 MB / 202.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.023/2.023, allocations: 0.505 GB / 0.8116 GB, free: 2.277 MB / 0.6511 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 0.00126/0.00126, allocations: 63.89 kB / 1.178 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6608/0.6621, allocations: 180.1 MB / 1.354 GB, free: 1.027 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow_inv): time 0.001985/0.6641, allocations: 1.285 MB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0007372/0.6648, allocations: 0.5333 MB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.696e-05/0.6648, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.942e-05/0.6648, allocations: 3.938 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.6649, allocations: 0 / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.6653, allocations: 147.4 kB / 1.356 GB, free: 15.05 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.016e-05/0.6654, allocations: 15.92 kB / 1.356 GB, free: 15.04 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/0.6654, allocations: 4 kB / 1.356 GB, free: 15.03 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.232e-05/0.6655, allocations: 7.922 kB / 1.356 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.604e-05/0.6655, allocations: 4 kB / 1.356 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 9.097e-06/0.6655, allocations: 0 / 1.356 GB, free: 15.02 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003163/0.6658, allocations: 311.5 kB / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.6658, allocations: 0 / 1.356 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.6659, allocations: 11.92 kB / 1.356 GB, free: 14.7 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.6661, allocations: 133.4 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.6661, allocations: 0 / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.743e-06/0.6661, allocations: 4 kB / 1.356 GB, free: 14.57 MB / 1.042 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.6661, allocations: 0 / 1.356 GB, free: 14.57 MB / 1.042 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.0003713/0.6664, allocations: 274 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6665, allocations: 15.98 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.6665, allocations: 0.9375 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.471e-05/0.6666, allocations: 114.4 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.6666, allocations: 4.375 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.6666, allocations: 4.312 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.398e-05/0.6667, allocations: 34.27 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6667, allocations: 192 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.6667, allocations: 11.88 kB / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.6667, allocations: 0 / 1.356 GB, free: 14.06 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.6668, allocations: 4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001097/0.6669, allocations: 105.3 kB / 1.357 GB, free: 13.92 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.316e-05/0.6669, allocations: 18.58 kB / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.732e-05/0.667, allocations: 8.797 kB / 1.357 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/0.667, allocations: 4.062 kB / 1.357 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.667, allocations: 34.56 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 6.32e-07/0.667, allocations: 0 / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.000126/0.6671, allocations: 45.62 kB / 1.357 GB, free: 13.79 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.6672, allocations: 55.41 kB / 1.357 GB, free: 13.72 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.6672, allocations: 93.86 kB / 1.357 GB, free: 13.62 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.6672, allocations: 25.7 kB / 1.357 GB, free: 13.59 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.285e-05/0.6672, allocations: 84.14 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/0.6673, allocations: 3.953 kB / 1.357 GB, free: 13.5 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.551e-05/0.6673, allocations: 21.7 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.468e-05/0.6674, allocations: 310.8 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.6674, allocations: 3.938 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.6674, allocations: 4.25 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.48e-05/0.6674, allocations: 16.92 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6674, allocations: 0 / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 3.965e-05/0.6675, allocations: 37.69 kB / 1.357 GB, free: 13.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.6675, allocations: 8 kB / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6675, allocations: 0 / 1.357 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.6675, allocations: 3.938 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.6676, allocations: 8 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002605/0.6679, allocations: 0.586 MB / 1.358 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.221e-05/0.6679, allocations: 4.125 kB / 1.358 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.6679, allocations: 4.031 kB / 1.358 GB, free: 12.45 MB / 1.042 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.454e-05/0.668, allocations: 117.7 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-06/0.668, allocations: 3.953 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.864e-05/0.6681, allocations: 45 kB / 1.358 GB, free: 12.27 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.6681, allocations: 7.938 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6681, allocations: 0 / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.6681, allocations: 3.984 kB / 1.358 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.322e-05/0.6681, allocations: 97.33 kB / 1.358 GB, free: 12.13 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.6681, allocations: 11.91 kB / 1.358 GB, free: 12.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.001e-05/0.6682, allocations: 15.98 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6682, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-06/0.6682, allocations: 0 / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001875/0.6684, allocations: 0.5821 MB / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6684, allocations: 0 / 1.359 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.943e-05/0.6684, allocations: 73.03 kB / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-06/0.6684, allocations: 0 / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.6684, allocations: 0 / 1.359 GB, free: 11.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.574e-06/0.6684, allocations: 8.125 kB / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.6685, allocations: 0 / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.6685, allocations: 0 / 1.359 GB, free: 11.4 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.184e-05/0.6685, allocations: 79.27 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6685, allocations: 4 kB / 1.359 GB, free: 11.32 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001326/0.6686, allocations: 15.88 kB / 1.359 GB, free: 11.3 MB / 1.042 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.0001393/0.6688, allocations: 115.2 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.6689, allocations: 19.98 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-06/0.6689, allocations: 4.156 kB / 1.359 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.6689, allocations: 15.94 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.669, allocations: 7.922 kB / 1.359 GB, free: 11.13 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002873/0.6693, allocations: 128 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.389e-05/0.6693, allocations: 59.34 kB / 1.359 GB, free: 10.9 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.6694, allocations: 7.438 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of SimCode: time 4.71e-07/0.6694, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of Templates: time 0.001892/0.6712, allocations: 0.7607 MB / 1.36 GB, free: 10.13 MB / 1.042 GB " [Timeout remaining time 299] 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: 7.793951193802059]