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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001038/0.001038, allocations: 191 kB / 17.29 MB, free: 5.516 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.428/1.428, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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.001436/0.001436, allocations: 67.89 kB / 0.6729 GB, free: 5.879 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1984, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00221/0.2006, allocations: 1.249 MB / 0.786 GB, free: 1.941 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.2015, allocations: 0.5877 MB / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.248e-05/0.2015, allocations: 0 / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.547e-05/0.2015, allocations: 0 / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.705e-05/0.2016, allocations: 0 / 0.7866 GB, free: 1.352 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.2021, allocations: 143.4 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.427e-05/0.2021, allocations: 7.938 kB / 0.7867 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.935e-05/0.2022, allocations: 4 kB / 0.7867 GB, free: 1.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.13e-05/0.2022, allocations: 11.92 kB / 0.7867 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.961e-05/0.2023, allocations: 8 kB / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.2023, allocations: 0 / 0.7867 GB, free: 1.18 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005134/0.2028, allocations: 343.3 kB / 0.7871 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.978e-06/0.2028, allocations: 4 kB / 0.7871 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.955e-05/0.2028, allocations: 3.938 kB / 0.7871 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.2031, allocations: 139.7 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.2031, allocations: 0 / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2031, allocations: 0 / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.2031, allocations: 0 / 0.7872 GB, free: 0.6992 MB / 0.6544 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.0003587/0.2035, allocations: 355.4 kB / 0.7875 GB, free: 308 kB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2035, allocations: 16.03 kB / 0.7876 GB, free: 292 kB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.098e-05/0.2036, allocations: 4.922 kB / 0.7876 GB, free: 288 kB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.2037, allocations: 172.2 kB / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2037, allocations: 384 / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2037, allocations: 384 / 0.7877 GB, free: 76 kB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.438e-05/0.2038, allocations: 30.27 kB / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2038, allocations: 192 / 0.7878 GB, free: 40 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.2038, allocations: 3.938 kB / 0.7878 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.2038, allocations: 4 kB / 0.7878 GB, free: 32 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.678e-05/0.2039, allocations: 11.92 kB / 0.7878 GB, free: 20 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3684/0.5723, allocations: 148.8 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.399e-05/0.5724, allocations: 21.11 kB / 0.7879 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.95e-05/0.5725, allocations: 10.77 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.5725, allocations: 1.25 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.422e-05/0.5725, allocations: 31.31 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 2.204e-06/0.5725, allocations: 1.938 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.5727, allocations: 44.75 kB / 0.788 GB, free: 48.61 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.076e-05/0.5727, allocations: 53.62 kB / 0.7881 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.412e-05/0.5728, allocations: 97.41 kB / 0.7882 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-06/0.5728, allocations: 29.52 kB / 0.7882 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.487e-05/0.5728, allocations: 83.33 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.5728, allocations: 4.125 kB / 0.7883 GB, free: 48.33 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.5729, allocations: 11.28 kB / 0.7883 GB, free: 48.32 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.5729, allocations: 319.6 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.242e-05/0.5729, allocations: 4.188 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.799e-06/0.5729, allocations: 2.688 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.573, allocations: 10.67 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.573, allocations: 2.656 kB / 0.7886 GB, free: 48 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.784e-05/0.573, allocations: 43.56 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.5731, allocations: 5.656 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.5731, allocations: 0 / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5731, allocations: 0 / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001751/0.5733, allocations: 10.05 kB / 0.7887 GB, free: 47.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002465/0.5735, allocations: 0.5875 MB / 0.7892 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.5736, allocations: 2.656 kB / 0.7892 GB, free: 47.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.5736, allocations: 0 / 0.7892 GB, free: 47.38 MB / 0.6544 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 4.984e-05/0.5736, allocations: 118.7 kB / 0.7894 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.038e-05/0.5736, allocations: 8.5 kB / 0.7894 GB, free: 47.26 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.633e-05/0.5738, allocations: 47.66 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.5738, allocations: 0 / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5738, allocations: 6.25 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.5738, allocations: 1.344 kB / 0.7894 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.935e-05/0.5738, allocations: 148 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.5739, allocations: 4.531 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.5739, allocations: 9.219 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.5739, allocations: 1.125 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.574, allocations: 3.531 kB / 0.7896 GB, free: 47.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001621/0.5741, allocations: 0.58 MB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5741, allocations: 1.094 kB / 0.7901 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.685e-05/0.5742, allocations: 78.84 kB / 0.7902 GB, free: 46.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.681e-05/0.5742, allocations: 77.11 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.5742, allocations: 1.75 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.483e-05/0.5743, allocations: 0 / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.5743, allocations: 4.047 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-06/0.5743, allocations: 5.031 kB / 0.7903 GB, free: 46.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.5743, allocations: 76.81 kB / 0.7904 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5743, allocations: 0 / 0.7904 GB, free: 46.22 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002151/0.5745, allocations: 19.19 kB / 0.7904 GB, free: 46.21 MB / 0.6544 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.0001351/0.5747, allocations: 108.9 kB / 0.7905 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001629/0.5749, allocations: 22.97 kB / 0.7905 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5749, allocations: 4.344 kB / 0.7905 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.905e-05/0.5749, allocations: 13.27 kB / 0.7905 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001416/0.5751, allocations: 5.859 kB / 0.7905 GB, free: 46.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002925/0.5754, allocations: 93.58 kB / 0.7906 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.543e-05/0.5755, allocations: 0.677 MB / 0.7913 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.52e-05/0.5755, allocations: 1 kB / 0.7913 GB, free: 45.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.5755, allocations: 13.75 kB / 0.7913 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.5756, allocations: 0 / 0.7913 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.002096/0.5777, allocations: 456.8 kB / 0.7917 GB, free: 45.34 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)