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.001232/0.001232, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001395/0.001395, allocations: 177.3 kB / 15.94 MB, free: 220 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.618/1.618, allocations: 251.9 MB / 0.51 GB, free: 4.793 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.000796/0.0007961, allocations: 16 kB / 0.6241 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6463/0.6471, allocations: 106.3 MB / 0.728 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001566/0.6487, allocations: 0.9767 MB / 0.7289 GB, free: 10.41 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0005853/0.6493, allocations: 300.7 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.6494, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.6494, allocations: 0 / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.519e-05/0.6495, allocations: 3.984 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.6498, allocations: 63.78 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.656e-05/0.6499, allocations: 7.984 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.38e-05/0.6499, allocations: 7.984 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.973e-05/0.6499, allocations: 0 / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.65, allocations: 4 kB / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.65, allocations: 0 / 0.7293 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000278/0.6503, allocations: 183.6 kB / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.6503, allocations: 0 / 0.7295 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.6503, allocations: 25.7 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.6505, allocations: 53.91 kB / 0.7295 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.6505, allocations: 0 / 0.7295 GB, free: 9.777 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.765e-06/0.6505, allocations: 3.938 kB / 0.7295 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6505, allocations: 4 kB / 0.7296 GB, free: 9.77 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.0004444/0.651, allocations: 339.3 kB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.651, allocations: 8.031 kB / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.651, allocations: 0 / 0.7299 GB, free: 9.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6512, allocations: 167 kB / 0.73 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.6512, allocations: 0 / 0.73 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.668e-06/0.6512, allocations: 0 / 0.73 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.6513, allocations: 33.69 kB / 0.7301 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6513, allocations: 4 kB / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.6514, allocations: 0 / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6514, allocations: 0 / 0.7301 GB, free: 9.137 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.6514, allocations: 4 kB / 0.7301 GB, free: 9.133 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.6516, allocations: 153.6 kB / 0.7302 GB, free: 8.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 6.205e-05/0.6517, allocations: 30.55 kB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.6517, allocations: 0 / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.6517, allocations: 34.56 kB / 0.7303 GB, free: 8.852 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.6517, allocations: 0 / 0.7303 GB, free: 8.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.6519, allocations: 45.75 kB / 0.7303 GB, free: 8.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.652, allocations: 55.34 kB / 0.7304 GB, free: 8.734 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.187e-05/0.652, allocations: 89.86 kB / 0.7305 GB, free: 8.637 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.6521, allocations: 25.7 kB / 0.7305 GB, free: 8.605 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.6521, allocations: 88.08 kB / 0.7306 GB, free: 8.516 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.6521, allocations: 8.094 kB / 0.7306 GB, free: 8.508 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.6522, allocations: 8 kB / 0.7306 GB, free: 8.5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6523, allocations: 314.8 kB / 0.7309 GB, free: 8.184 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.217e-05/0.6523, allocations: 7.938 kB / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.822e-06/0.6523, allocations: 0 / 0.7309 GB, free: 8.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.644e-05/0.6523, allocations: 4 kB / 0.7309 GB, free: 8.172 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6523, allocations: 3.953 kB / 0.7309 GB, free: 8.168 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.727e-05/0.6524, allocations: 37.7 kB / 0.7309 GB, free: 8.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.6524, allocations: 4 kB / 0.731 GB, free: 8.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.6524, allocations: 4.094 kB / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6525, allocations: 0 / 0.731 GB, free: 8.117 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.6526, allocations: 15.92 kB / 0.731 GB, free: 8.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003632/0.653, allocations: 0.586 MB / 0.7315 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.827e-05/0.653, allocations: 0 / 0.7315 GB, free: 7.492 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.278e-06/0.6531, allocations: 3.953 kB / 0.7315 GB, free: 7.488 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.495e-05/0.6532, allocations: 117 kB / 0.7317 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.327e-06/0.6532, allocations: 8 kB / 0.7317 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.6533, allocations: 44.77 kB / 0.7317 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.6533, allocations: 0 / 0.7317 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.6533, allocations: 3.984 kB / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.6533, allocations: 0 / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.6534, allocations: 149.6 kB / 0.7319 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6534, allocations: 0 / 0.7319 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.963e-05/0.6535, allocations: 15.98 kB / 0.7319 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6535, allocations: 4.031 kB / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.6535, allocations: 0 / 0.7319 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002904/0.6538, allocations: 0.5782 MB / 0.7324 GB, free: 6.488 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.6538, allocations: 3.953 kB / 0.7324 GB, free: 6.484 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.526e-05/0.6539, allocations: 73.19 kB / 0.7325 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.654, allocations: 81.02 kB / 0.7326 GB, free: 6.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.654, allocations: 4 kB / 0.7326 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.453e-05/0.654, allocations: 0 / 0.7326 GB, free: 6.293 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.654, allocations: 3.953 kB / 0.7326 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.654, allocations: 4 kB / 0.7326 GB, free: 6.285 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.27e-05/0.6541, allocations: 79.27 kB / 0.7327 GB, free: 6.207 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6541, allocations: 3.938 kB / 0.7327 GB, free: 6.203 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001912/0.6543, allocations: 8 kB / 0.7327 GB, free: 6.195 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.6545, allocations: 111.4 kB / 0.7328 GB, free: 6.074 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.6546, allocations: 16 kB / 0.7328 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.6547, allocations: 0 / 0.7328 GB, free: 6.059 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.6548, allocations: 19.92 kB / 0.7328 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001052/0.6549, allocations: 0 / 0.7328 GB, free: 6.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.6552, allocations: 125.5 kB / 0.7329 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6555, allocations: 0.6731 MB / 0.7336 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 1.716e-05/0.6556, allocations: 0 / 0.7336 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.417e-05/0.6556, allocations: 11.42 kB / 0.7336 GB, free: 5.184 MB / 0.545 GB Notification: Performance of SimCode: time 2.5e-07/0.6556, allocations: 0 / 0.7336 GB, free: 5.184 MB / 0.545 GB Notification: Performance of Templates: time 0.002638/0.6582, allocations: 424 kB / 0.734 GB, free: 4.801 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: