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.0007604/0.0007604, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.0008461/0.0008462, allocations: 168.7 kB / 15.95 MB, free: 204 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.266/1.266, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.569/1.569, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0004601/0.0004601, allocations: 17.03 kB / 0.6737 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.1933, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00117/0.1945, allocations: 0.9782 MB / 0.7882 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008064/0.1954, allocations: 0.5426 MB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.1954, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.1954, allocations: 0 / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.273e-05/0.1955, allocations: 7.938 kB / 0.7888 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1958, allocations: 111.6 kB / 0.7889 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.642e-05/0.1959, allocations: 15.92 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.1959, allocations: 0 / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.1959, allocations: 4 kB / 0.7889 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.755e-05/0.196, allocations: 11.98 kB / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.145e-06/0.196, allocations: 0 / 0.7889 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004235/0.1964, allocations: 331.3 kB / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.182e-06/0.1964, allocations: 0 / 0.7892 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.039e-05/0.1965, allocations: 25.7 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1966, allocations: 96.09 kB / 0.7893 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.1966, allocations: 4 kB / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.92e-07/0.1966, allocations: 0 / 0.7893 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.1967, allocations: 0 / 0.7893 GB, free: 9.832 MB / 0.6075 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.0002735/0.1969, allocations: 347.2 kB / 0.7897 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.197, allocations: 19.97 kB / 0.7897 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.046e-05/0.197, allocations: 4 kB / 0.7897 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.544e-05/0.1971, allocations: 166.9 kB / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1971, allocations: 0 / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.1971, allocations: 0 / 0.7899 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.041e-05/0.1972, allocations: 33.69 kB / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1972, allocations: 0 / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1972, allocations: 0 / 0.7899 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1972, allocations: 4 kB / 0.7899 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.933e-05/0.1973, allocations: 4 kB / 0.7899 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001559/0.1974, allocations: 153.6 kB / 0.79 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.851e-05/0.1975, allocations: 30.53 kB / 0.7901 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.568e-05/0.1975, allocations: 12.86 kB / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.1975, allocations: 0 / 0.7901 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1975, allocations: 30.56 kB / 0.7901 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.71e-07/0.1976, allocations: 4 kB / 0.7901 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001221/0.1977, allocations: 45.69 kB / 0.7902 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.654e-05/0.1977, allocations: 55.34 kB / 0.7902 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.589e-05/0.1978, allocations: 93.86 kB / 0.7903 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.1978, allocations: 25.7 kB / 0.7903 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.1978, allocations: 80.14 kB / 0.7904 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.1978, allocations: 7.906 kB / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.1979, allocations: 0 / 0.7904 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.198, allocations: 315.1 kB / 0.7907 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.094e-05/0.198, allocations: 7.984 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-06/0.198, allocations: 0 / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.5e-05/0.198, allocations: 4 kB / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.198, allocations: 0 / 0.7907 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.243e-05/0.1981, allocations: 41.66 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1981, allocations: 4 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1981, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.246e-06/0.1981, allocations: 4 kB / 0.7908 GB, free: 8.152 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1982, allocations: 24.05 kB / 0.7908 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002892/0.1985, allocations: 0.5821 MB / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.603e-05/0.1986, allocations: 0 / 0.7914 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.1986, allocations: 0 / 0.7914 GB, free: 7.523 MB / 0.6075 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 6.514e-05/0.1986, allocations: 118.5 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-06/0.1987, allocations: 12.06 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.428e-05/0.1987, allocations: 44.77 kB / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1988, allocations: 0 / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.1988, allocations: 0 / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1988, allocations: 0 / 0.7915 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.756e-05/0.1989, allocations: 165.5 kB / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1989, allocations: 0 / 0.7917 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.266e-05/0.1989, allocations: 11.98 kB / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1989, allocations: 0 / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.199, allocations: 0 / 0.7917 GB, free: 7.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00026/0.1992, allocations: 0.5822 MB / 0.7923 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1992, allocations: 3.953 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.131e-05/0.1993, allocations: 73.09 kB / 0.7923 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.507e-05/0.1994, allocations: 77.11 kB / 0.7924 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.638e-06/0.1994, allocations: 4.125 kB / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.337e-05/0.1994, allocations: 0 / 0.7924 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.1994, allocations: 4 kB / 0.7924 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.1994, allocations: 7.891 kB / 0.7924 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.786e-05/0.1995, allocations: 75.28 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1995, allocations: 0 / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001916/0.1997, allocations: 19.92 kB / 0.7925 GB, free: 6.207 MB / 0.6075 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.0001466/0.1998, allocations: 103.2 kB / 0.7926 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001514/0.2, allocations: 24.08 kB / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2, allocations: 0 / 0.7926 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.486e-05/0.2001, allocations: 19.92 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.2002, allocations: 3.234 kB / 0.7927 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002871/0.2005, allocations: 115.2 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2008, allocations: 0.677 MB / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.534e-05/0.2008, allocations: 0 / 0.7934 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.184e-05/0.2008, allocations: 7.438 kB / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2008, allocations: 0 / 0.7934 GB, free: 5.203 MB / 0.6075 GB Notification: Performance of Templates: time 0.002393/0.2032, allocations: 429.3 kB / 0.7939 GB, free: 4.793 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: