Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.539/1.539, allocations: 289.9 MB / 297.4 MB, free: 6.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.8 kB / 366.7 MB, free: 1.656 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.441/1.441, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008072/0.000807, allocations: 82.72 kB / 0.74 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.733e-05/1.74e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5792/0.5793, allocations: 116.3 MB / 0.9733 GB, free: 76.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.738, allocations: 138.6 MB / 1.109 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.7382, allocations: 80.64 kB / 1.109 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006472/0.7447, allocations: 2.254 MB / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.173e-06/0.7447, allocations: 0 / 1.111 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.7447, allocations: 0 / 1.111 GB, free: 9.297 MB / 0.7136 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.0002752/0.745, allocations: 329.5 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.7451, allocations: 12.03 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.7451, allocations: 3.984 kB / 1.111 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.7452, allocations: 167 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.7453, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.7453, allocations: 4 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.98e-05/0.7453, allocations: 5.25 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.817e-05/0.7454, allocations: 36.14 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.7454, allocations: 0 / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.7454, allocations: 1.281 kB / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.7455, allocations: 0 / 1.111 GB, free: 8.672 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.7456, allocations: 141.4 kB / 1.112 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.331e-05/0.7456, allocations: 22.61 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.919e-05/0.7457, allocations: 9.547 kB / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.7457, allocations: 0 / 1.112 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.7457, allocations: 38 kB / 1.112 GB, free: 8.414 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.7457, allocations: 3.938 kB / 1.112 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001175/0.7459, allocations: 41.69 kB / 1.112 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.7459, allocations: 51.41 kB / 1.112 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.369e-05/0.746, allocations: 85 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.746, allocations: 26.8 kB / 1.112 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.746, allocations: 84.14 kB / 1.112 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.7461, allocations: 3.906 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.7461, allocations: 1.094 kB / 1.112 GB, free: 8.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.7462, allocations: 314.8 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.778e-06/0.7462, allocations: 4.812 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.972e-06/0.7462, allocations: 0 / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.505e-05/0.7462, allocations: 5.844 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7462, allocations: 3.984 kB / 1.112 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.689e-05/0.7463, allocations: 45.5 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.7463, allocations: 8.125 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7463, allocations: 0 / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.7463, allocations: 3.75 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.7465, allocations: 11.98 kB / 1.112 GB, free: 7.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003302/0.7468, allocations: 0.5782 MB / 1.113 GB, free: 7.094 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.7468, allocations: 8.016 kB / 1.113 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.7469, allocations: 0 / 1.113 GB, free: 7.086 MB / 0.7136 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 () * 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 7.329e-05/0.7469, allocations: 105.3 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.747, allocations: 8 kB / 1.113 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.333e-05/0.7471, allocations: 45.38 kB / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.7471, allocations: 0 / 1.113 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7471, allocations: 4 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.7471, allocations: 0 / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.482e-05/0.7472, allocations: 134.2 kB / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.7472, allocations: 0 / 1.113 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.238e-05/0.7473, allocations: 8 kB / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7473, allocations: 0 / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.7473, allocations: 0 / 1.113 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002833/0.7476, allocations: 0.5938 MB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.7476, allocations: 1.781 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.383e-05/0.7477, allocations: 65.06 kB / 1.114 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.95e-05/0.7477, allocations: 77.11 kB / 1.114 GB, free: 5.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.7477, allocations: 16.05 kB / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.288e-05/0.7477, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.788e-06/0.7477, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.7478, allocations: 0 / 1.114 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.633e-05/0.7478, allocations: 79.28 kB / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7478, allocations: 0 / 1.114 GB, free: 5.848 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001801/0.748, allocations: 12 kB / 1.114 GB, free: 5.836 MB / 0.7136 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 () * 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.0001554/0.7481, allocations: 115.2 kB / 1.114 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001308/0.7483, allocations: 16.08 kB / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.7483, allocations: 0 / 1.114 GB, free: 5.699 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.136e-05/0.7484, allocations: 19.94 kB / 1.114 GB, free: 5.68 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.465e-05/0.7485, allocations: 3.953 kB / 1.114 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001448/0.7486, allocations: 47.48 kB / 1.114 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/0.7489, allocations: 0.6768 MB / 1.115 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.7489, allocations: 5.906 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.155e-05/0.7489, allocations: 11.44 kB / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7489, allocations: 0 / 1.115 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of Templates: time 0.002009/0.7509, allocations: 405.9 kB / 1.115 GB, free: 4.531 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)