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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001223/0.001223, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.394/1.394, allocations: 205.1 MB / 222 MB, free: 4.984 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.528/1.528, allocations: 251.6 MB / 0.5088 GB, free: 3.312 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.00146/0.00146, allocations: 67.91 kB / 0.6216 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4983, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.004634/0.503, allocations: 1.315 MB / 0.7251 GB, free: 11.81 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.5052, allocations: 0.6023 MB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.306e-05/0.5053, allocations: 4 kB / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.765e-05/0.5053, allocations: 0 / 0.7257 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.161e-05/0.5055, allocations: 7.938 kB / 0.7257 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008976/0.5064, allocations: 122.3 kB / 0.7258 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.906e-05/0.5065, allocations: 8 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.5066, allocations: 3.938 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.5066, allocations: 3.984 kB / 0.7258 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.5067, allocations: 11.94 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.5067, allocations: 4 kB / 0.7258 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009558/0.5077, allocations: 331.4 kB / 0.7262 GB, free: 10.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.5077, allocations: 11.98 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.455e-05/0.5078, allocations: 3.984 kB / 0.7262 GB, free: 10.71 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.5083, allocations: 141.6 kB / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.5083, allocations: 0 / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5083, allocations: 0 / 0.7263 GB, free: 10.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.5083, allocations: 0 / 0.7263 GB, free: 10.57 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.0006589/0.509, allocations: 347.5 kB / 0.7266 GB, free: 10.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/0.5091, allocations: 11.97 kB / 0.7266 GB, free: 10.17 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.891e-05/0.5092, allocations: 8.938 kB / 0.7267 GB, free: 10.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.5093, allocations: 164.3 kB / 0.7268 GB, free: 9.965 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5094, allocations: 4.375 kB / 0.7268 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.5094, allocations: 384 / 0.7268 GB, free: 9.961 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.5095, allocations: 34.25 kB / 0.7268 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.5096, allocations: 192 / 0.7268 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5096, allocations: 7.875 kB / 0.7269 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.5096, allocations: 0 / 0.7269 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.5097, allocations: 4 kB / 0.7269 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.5099, allocations: 157.7 kB / 0.727 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.6e-05/0.51, allocations: 22.55 kB / 0.727 GB, free: 9.676 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.846e-05/0.5101, allocations: 16.92 kB / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.5101, allocations: 0 / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.567e-05/0.5102, allocations: 30.56 kB / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/0.5102, allocations: 0 / 0.7271 GB, free: 9.617 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.5104, allocations: 53.62 kB / 0.7271 GB, free: 9.559 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.5105, allocations: 51.41 kB / 0.7272 GB, free: 9.496 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000121/0.5106, allocations: 89.86 kB / 0.7273 GB, free: 9.398 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.5107, allocations: 33.64 kB / 0.7273 GB, free: 9.359 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/0.5107, allocations: 80.14 kB / 0.7274 GB, free: 9.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.5108, allocations: 7.844 kB / 0.7274 GB, free: 9.27 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.186e-05/0.5109, allocations: 21.7 kB / 0.7274 GB, free: 9.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.511, allocations: 315.1 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.033e-05/0.5111, allocations: 0 / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.5111, allocations: 4 kB / 0.7277 GB, free: 8.922 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.603e-05/0.5112, allocations: 12.86 kB / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5112, allocations: 0 / 0.7277 GB, free: 8.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001263/0.5113, allocations: 37.69 kB / 0.7278 GB, free: 8.863 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.5114, allocations: 8 kB / 0.7278 GB, free: 8.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5114, allocations: 3.938 kB / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5114, allocations: 96 / 0.7278 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.5117, allocations: 19.94 kB / 0.7278 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005431/0.5122, allocations: 0.5859 MB / 0.7284 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.5123, allocations: 0 / 0.7284 GB, free: 8.223 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.5123, allocations: 0 / 0.7284 GB, free: 8.223 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 0.0001341/0.5125, allocations: 113.8 kB / 0.7285 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.425e-05/0.5125, allocations: 4.094 kB / 0.7285 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001634/0.5127, allocations: 48.75 kB / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.5127, allocations: 0 / 0.7285 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.5127, allocations: 4 kB / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.5127, allocations: 0 / 0.7285 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.5129, allocations: 161.5 kB / 0.7287 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5129, allocations: 3.938 kB / 0.7287 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.513, allocations: 8 kB / 0.7287 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.5131, allocations: 0 / 0.7287 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5131, allocations: 32 / 0.7287 GB, free: 7.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005081/0.5136, allocations: 0.5821 MB / 0.7293 GB, free: 7.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/0.5136, allocations: 7.922 kB / 0.7293 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.5138, allocations: 69.02 kB / 0.7293 GB, free: 7.121 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.5139, allocations: 77.11 kB / 0.7294 GB, free: 7.027 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.5139, allocations: 4.125 kB / 0.7294 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.527e-05/0.5139, allocations: 3.984 kB / 0.7294 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.514, allocations: 7.938 kB / 0.7294 GB, free: 7.012 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.514, allocations: 0 / 0.7294 GB, free: 7.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.514, allocations: 75.28 kB / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.5141, allocations: 0 / 0.7295 GB, free: 6.938 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003604/0.5144, allocations: 16 kB / 0.7295 GB, free: 6.922 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.0002585/0.5147, allocations: 111.3 kB / 0.7296 GB, free: 6.801 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.515, allocations: 16.02 kB / 0.7296 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.515, allocations: 0 / 0.7296 GB, free: 6.785 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.5151, allocations: 23.92 kB / 0.7296 GB, free: 6.762 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.5154, allocations: 4 kB / 0.7296 GB, free: 6.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005641/0.516, allocations: 108.7 kB / 0.7298 GB, free: 6.625 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.5164, allocations: 0.6809 MB / 0.7304 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.623e-05/0.5164, allocations: 0 / 0.7304 GB, free: 5.918 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.15e-05/0.5164, allocations: 7.438 kB / 0.7304 GB, free: 5.91 MB / 0.545 GB Notification: Performance of SimCode: time 6.31e-07/0.5165, allocations: 4 kB / 0.7304 GB, free: 5.906 MB / 0.545 GB Notification: Performance of Templates: time 0.004042/0.5205, allocations: 428.9 kB / 0.7308 GB, free: 5.52 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)