Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_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.0009908/0.0009908, allocations: 111.5 kB / 20.47 MB, free: 4.594 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.0009588/0.0009588, allocations: 229.5 kB / 23.78 MB, free: 2.082 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 1.008/1.008, allocations: 230.6 MB / 257.5 MB, free: 9.629 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 1.977/1.977, allocations: 0.505 GB / 0.8116 GB, free: 2.406 MB / 0.6511 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_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.89 kB / 1.178 GB, free: 11.73 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7482/0.7496, allocations: 180.1 MB / 1.354 GB, free: 1.105 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv): time 0.002405/0.752, allocations: 1.295 MB / 1.355 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0009088/0.753, allocations: 0.5448 MB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.753, allocations: 0 / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.753, allocations: 3.938 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.65e-05/0.753, allocations: 4 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005138/0.7536, allocations: 151.4 kB / 1.356 GB, free: 15.1 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 5.323e-05/0.7536, allocations: 11.94 kB / 1.356 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.7537, allocations: 3.984 kB / 1.356 GB, free: 15.09 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.7537, allocations: 4 kB / 1.356 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.186e-05/0.7537, allocations: 3.938 kB / 1.356 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-06/0.7537, allocations: 0 / 1.356 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.7542, allocations: 315.4 kB / 1.356 GB, free: 14.77 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.7542, allocations: 11.98 kB / 1.356 GB, free: 14.76 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.7542, allocations: 7.984 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.7544, allocations: 129.5 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7544, allocations: 3.938 kB / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7544, allocations: 0 / 1.356 GB, free: 14.62 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.7544, allocations: 0 / 1.356 GB, free: 14.62 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.0003641/0.7548, allocations: 270 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.7549, allocations: 15.98 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.7549, allocations: 0.9375 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.855e-05/0.755, allocations: 114.4 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.755, allocations: 8.375 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.755, allocations: 384 / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.317e-05/0.7551, allocations: 34.25 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.7551, allocations: 192 / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.7551, allocations: 3.938 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.7551, allocations: 0 / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.7551, allocations: 4 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.7553, allocations: 105.3 kB / 1.357 GB, free: 13.98 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/0.7553, allocations: 22.52 kB / 1.357 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.249e-05/0.7553, allocations: 12.84 kB / 1.357 GB, free: 13.94 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.7554, allocations: 12.05 kB / 1.357 GB, free: 13.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.7554, allocations: 30.56 kB / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.7554, allocations: 0 / 1.357 GB, free: 13.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001419/0.7555, allocations: 45.58 kB / 1.357 GB, free: 13.84 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.7556, allocations: 55.41 kB / 1.357 GB, free: 13.77 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.151e-05/0.7556, allocations: 97.78 kB / 1.357 GB, free: 13.66 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.7556, allocations: 25.7 kB / 1.357 GB, free: 13.63 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.7557, allocations: 84.14 kB / 1.357 GB, free: 13.55 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.7557, allocations: 3.953 kB / 1.357 GB, free: 13.54 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.7557, allocations: 17.97 kB / 1.357 GB, free: 13.52 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.48e-05/0.7558, allocations: 314.8 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.273e-05/0.7558, allocations: 0 / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.7558, allocations: 7.984 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.7559, allocations: 16.86 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.7559, allocations: 0 / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.807e-05/0.7559, allocations: 37.64 kB / 1.357 GB, free: 13.13 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.756, allocations: 8 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.756, allocations: 0 / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.756, allocations: 3.938 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.7561, allocations: 16.08 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003324/0.7565, allocations: 0.5821 MB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.958e-05/0.7565, allocations: 0 / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.7565, allocations: 4.031 kB / 1.358 GB, free: 12.5 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 6.922e-05/0.7566, allocations: 109.8 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.7566, allocations: 3.953 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.7567, allocations: 48.94 kB / 1.358 GB, free: 12.32 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7567, allocations: 8.125 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.7567, allocations: 0 / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.7567, allocations: 0 / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.336e-05/0.7568, allocations: 101.3 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.7568, allocations: 7.938 kB / 1.358 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.288e-05/0.7568, allocations: 8 kB / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.7568, allocations: 0 / 1.358 GB, free: 12.17 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7568, allocations: 3.984 kB / 1.358 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002509/0.7571, allocations: 0.5821 MB / 1.359 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7571, allocations: 0 / 1.359 GB, free: 11.56 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.543e-05/0.7572, allocations: 69.2 kB / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.7572, allocations: 3.984 kB / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.7572, allocations: 0 / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.338e-05/0.7572, allocations: 0 / 1.359 GB, free: 11.47 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.752e-05/0.7572, allocations: 7.938 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-06/0.7572, allocations: 3.938 kB / 1.359 GB, free: 11.46 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.672e-05/0.7572, allocations: 75.28 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7572, allocations: 4 kB / 1.359 GB, free: 11.38 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002307/0.7575, allocations: 19.88 kB / 1.359 GB, free: 11.36 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.0001756/0.7576, allocations: 119.3 kB / 1.359 GB, free: 11.23 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001546/0.7578, allocations: 19.92 kB / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7578, allocations: 0 / 1.359 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.971e-05/0.7579, allocations: 15.98 kB / 1.359 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.758, allocations: 4 kB / 1.359 GB, free: 11.19 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.7583, allocations: 124 kB / 1.359 GB, free: 11.04 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.049e-05/0.7584, allocations: 59.48 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.922e-05/0.7584, allocations: 11.44 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of SimCode: time 7.51e-07/0.7584, allocations: 0 / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of Templates: time 0.002236/0.7606, allocations: 0.7655 MB / 1.36 GB, free: 10.19 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.sim & ./Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp_inv.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.955703813582659]