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/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.41/1.41, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009651/0.000965, allocations: 187 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.489/1.489, allocations: 205 MB / 0.5766 GB, free: 20.97 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007209/0.0007209, allocations: 94.92 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003209/0.0003209, allocations: 12.59 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1769, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001103/0.178, allocations: 0.9825 MB / 0.8977 GB, free: 67.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007727/0.1788, allocations: 0.6089 MB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.366e-05/0.1788, allocations: 0 / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.997e-05/0.1789, allocations: 3.984 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.686e-05/0.1789, allocations: 4 kB / 0.8983 GB, free: 66.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.1793, allocations: 111.6 kB / 0.8984 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.602e-05/0.1794, allocations: 19.88 kB / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.056e-05/0.1794, allocations: 0 / 0.8984 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.756e-05/0.1795, allocations: 3.984 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.777e-05/0.1795, allocations: 11.98 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.1795, allocations: 0 / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003811/0.1799, allocations: 339.3 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-06/0.1799, allocations: 4 kB / 0.8988 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.866e-05/0.18, allocations: 3.984 kB / 0.8988 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.1801, allocations: 96.06 kB / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1801, allocations: 0 / 0.8989 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1801, allocations: 4 kB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.1801, allocations: 0 / 0.8989 GB, free: 65.98 MB / 0.6042 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.0003054/0.1805, allocations: 355.4 kB / 0.8992 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.344e-05/0.1805, allocations: 8.031 kB / 0.8992 GB, free: 65.58 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.1805, allocations: 4.938 kB / 0.8992 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.063e-05/0.1806, allocations: 160.4 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.1806, allocations: 384 / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.1806, allocations: 4.375 kB / 0.8994 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.864e-05/0.1807, allocations: 34.27 kB / 0.8994 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1807, allocations: 4.125 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1807, allocations: 3.938 kB / 0.8994 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1807, allocations: 3.984 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.1808, allocations: 4 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001113/0.1809, allocations: 149.7 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.216e-05/0.1809, allocations: 26.59 kB / 0.8996 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.549e-05/0.181, allocations: 8.922 kB / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.037e-05/0.181, allocations: 0 / 0.8996 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.181, allocations: 30.56 kB / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.181, allocations: 0 / 0.8996 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001149/0.1811, allocations: 49.58 kB / 0.8997 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.1812, allocations: 51.41 kB / 0.8997 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.394e-05/0.1812, allocations: 106 kB / 0.8998 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.45e-06/0.1812, allocations: 25.7 kB / 0.8999 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.241e-05/0.1812, allocations: 80.14 kB / 0.8999 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.091e-05/0.1813, allocations: 3.906 kB / 0.8999 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.878e-05/0.1813, allocations: 9.719 kB / 0.8999 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.876e-05/0.1813, allocations: 314.8 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.127e-06/0.1814, allocations: 4 kB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-06/0.1814, allocations: 0 / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.1814, allocations: 24.97 kB / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1814, allocations: 0 / 0.9003 GB, free: 64.33 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.175e-05/0.1815, allocations: 37.7 kB / 0.9003 GB, free: 64.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/0.1815, allocations: 7.938 kB / 0.9003 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1815, allocations: 3.938 kB / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1815, allocations: 0 / 0.9003 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1816, allocations: 15.92 kB / 0.9003 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002142/0.1819, allocations: 0.5937 MB / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.767e-05/0.1819, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.1819, allocations: 0 / 0.9009 GB, free: 63.64 MB / 0.6042 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.605e-05/0.182, allocations: 109.8 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.396e-06/0.182, allocations: 8.031 kB / 0.901 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.443e-05/0.1821, allocations: 52.73 kB / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1821, allocations: 128 / 0.9011 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1821, allocations: 4 kB / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1821, allocations: 0 / 0.9011 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.654e-05/0.1822, allocations: 157.6 kB / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1822, allocations: 0 / 0.9012 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.1822, allocations: 11.98 kB / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1822, allocations: 0 / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1823, allocations: 0 / 0.9012 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000166/0.1824, allocations: 0.586 MB / 0.9018 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1824, allocations: 7.938 kB / 0.9018 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.897e-05/0.1825, allocations: 65.16 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.516e-05/0.1825, allocations: 81.02 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.022e-05/0.1825, allocations: 4 kB / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.382e-05/0.1826, allocations: 0 / 0.902 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.309e-05/0.1826, allocations: 11.88 kB / 0.902 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-06/0.1826, allocations: 4.125 kB / 0.902 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.538e-05/0.1826, allocations: 75.28 kB / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/0.1826, allocations: 0 / 0.9021 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001812/0.1828, allocations: 11.98 kB / 0.9021 GB, free: 62.34 MB / 0.6042 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.0001224/0.1829, allocations: 110.3 kB / 0.9022 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001409/0.1831, allocations: 24.02 kB / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1831, allocations: 160 / 0.9022 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.721e-05/0.1832, allocations: 19.98 kB / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001261/0.1833, allocations: 0 / 0.9022 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002651/0.1836, allocations: 134 kB / 0.9023 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.764e-05/0.1837, allocations: 0.677 MB / 0.903 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.137e-05/0.1837, allocations: 7.438 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of SimCode: time 3.11e-07/0.1837, allocations: 64 / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of Templates: time 0.001695/0.1854, allocations: 0.6929 MB / 0.9037 GB, free: 60.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (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)