Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001007, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001204, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 222 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 251.7 MB / 0.5088 GB, free: 3.34 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 71.89 kB / 0.6216 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4712, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002502/0.4737, allocations: 1.323 MB / 0.7251 GB, free: 11.82 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.4748, allocations: 0.6062 MB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.4749, allocations: 0 / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.117e-05/0.4749, allocations: 0 / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.816e-05/0.475, allocations: 0 / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/0.4758, allocations: 123.6 kB / 0.7258 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.616e-05/0.4759, allocations: 15.92 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.4759, allocations: 4 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.476, allocations: 0 / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.476, allocations: 7.938 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.4761, allocations: 0 / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006885/0.4767, allocations: 343.3 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.65e-05/0.4768, allocations: 0 / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.531e-05/0.4768, allocations: 4 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.4772, allocations: 145.6 kB / 0.7263 GB, free: 10.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.4772, allocations: 3.984 kB / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4772, allocations: 0 / 0.7263 GB, free: 10.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.4773, allocations: 0 / 0.7263 GB, free: 10.58 MB / 0.545 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.0005735/0.4778, allocations: 351.5 kB / 0.7266 GB, free: 10.19 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 8.019e-05/0.4779, allocations: 11.97 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.198e-05/0.478, allocations: 0.9375 kB / 0.7267 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.4781, allocations: 164.4 kB / 0.7268 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4781, allocations: 384 / 0.7268 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.221e-05/0.4781, allocations: 4.375 kB / 0.7268 GB, free: 9.973 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.4783, allocations: 34.25 kB / 0.7268 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.4783, allocations: 192 / 0.7268 GB, free: 9.934 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.4783, allocations: 7.938 kB / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4783, allocations: 0 / 0.7269 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.408e-05/0.4783, allocations: 7.938 kB / 0.7269 GB, free: 9.918 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.4785, allocations: 149.7 kB / 0.727 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.545e-05/0.4786, allocations: 26.58 kB / 0.727 GB, free: 9.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.153e-05/0.4786, allocations: 12.92 kB / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4787, allocations: 0 / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4787, allocations: 30.56 kB / 0.7271 GB, free: 9.633 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.4787, allocations: 3.938 kB / 0.7271 GB, free: 9.629 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.4789, allocations: 49.56 kB / 0.7271 GB, free: 9.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.4789, allocations: 55.41 kB / 0.7272 GB, free: 9.508 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.479, allocations: 97.98 kB / 0.7273 GB, free: 9.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.308e-05/0.479, allocations: 25.7 kB / 0.7273 GB, free: 9.371 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.4791, allocations: 88.12 kB / 0.7274 GB, free: 9.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.4791, allocations: 7.844 kB / 0.7274 GB, free: 9.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.4792, allocations: 9.719 kB / 0.7274 GB, free: 9.258 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4793, allocations: 322.8 kB / 0.7277 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.4793, allocations: 0 / 0.7277 GB, free: 8.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.076e-05/0.4793, allocations: 4 kB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.4794, allocations: 13.05 kB / 0.7277 GB, free: 8.914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4794, allocations: 0 / 0.7277 GB, free: 8.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.224e-05/0.4794, allocations: 41.64 kB / 0.7278 GB, free: 8.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.4795, allocations: 4 kB / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/0.4795, allocations: 7.922 kB / 0.7278 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4795, allocations: 4 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001756/0.4797, allocations: 8 kB / 0.7278 GB, free: 8.844 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004164/0.4801, allocations: 0.586 MB / 0.7284 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.99e-05/0.4801, allocations: 0 / 0.7284 GB, free: 8.234 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.4802, allocations: 0 / 0.7284 GB, free: 8.234 MB / 0.545 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 8.394e-05/0.4802, allocations: 118.4 kB / 0.7285 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-06/0.4803, allocations: 7.969 kB / 0.7285 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.4804, allocations: 44.81 kB / 0.7285 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4804, allocations: 4.125 kB / 0.7285 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4804, allocations: 0 / 0.7285 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4804, allocations: 0 / 0.7285 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.4805, allocations: 153.6 kB / 0.7287 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.4805, allocations: 0 / 0.7287 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.412e-05/0.4806, allocations: 11.98 kB / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.4806, allocations: 0 / 0.7287 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.4806, allocations: 4 kB / 0.7287 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003201/0.481, allocations: 0.586 MB / 0.7293 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.481, allocations: 3.938 kB / 0.7293 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.261e-05/0.481, allocations: 73.06 kB / 0.7293 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.4811, allocations: 77.11 kB / 0.7294 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.4811, allocations: 3.938 kB / 0.7294 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.452e-05/0.4811, allocations: 0 / 0.7294 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.05e-05/0.4812, allocations: 11.91 kB / 0.7294 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4812, allocations: 8.125 kB / 0.7294 GB, free: 7.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.321e-05/0.4812, allocations: 75.28 kB / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4812, allocations: 0 / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002193/0.4814, allocations: 12 kB / 0.7295 GB, free: 6.926 MB / 0.545 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.0001865/0.4816, allocations: 111.2 kB / 0.7296 GB, free: 6.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001585/0.4818, allocations: 20.02 kB / 0.7296 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4818, allocations: 160 / 0.7296 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.754e-05/0.4819, allocations: 20 kB / 0.7297 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.4821, allocations: 4.375 kB / 0.7297 GB, free: 6.766 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.4825, allocations: 100.6 kB / 0.7298 GB, free: 6.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.4827, allocations: 0.6809 MB / 0.7304 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.126e-05/0.4828, allocations: 4.062 kB / 0.7304 GB, free: 5.93 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.306e-05/0.4828, allocations: 11.38 kB / 0.7304 GB, free: 5.918 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.4828, allocations: 0 / 0.7304 GB, free: 5.918 MB / 0.545 GB Notification: Performance of Templates: time 0.002421/0.4852, allocations: 433.2 kB / 0.7308 GB, free: 5.531 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)