Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 303.7 MB, free: 8.016 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.001215/0.001215, allocations: 183.4 kB / 372.3 MB, free: 10.12 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.39/1.39, allocations: 205.4 MB / 0.631 GB, free: 9.934 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007223/0.0007223, allocations: 92.19 kB / 0.7444 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.000419, allocations: 16.31 kB / 0.8675 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2055, allocations: 115.3 MB / 0.9801 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001157/0.2067, allocations: 0.9706 MB / 0.9811 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.2074, allocations: 0.5424 MB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.804e-05/0.2074, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.2074, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.2075, allocations: 0 / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.2079, allocations: 126 kB / 0.9817 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.902e-05/0.208, allocations: 11.92 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.208, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.63e-05/0.208, allocations: 4 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.519e-05/0.2081, allocations: 3.938 kB / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.2081, allocations: 0 / 0.9817 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.2085, allocations: 335.4 kB / 0.9821 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.2085, allocations: 7.938 kB / 0.9821 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.2085, allocations: 25.7 kB / 0.9821 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.2087, allocations: 96.03 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2087, allocations: 0 / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2087, allocations: 8 kB / 0.9822 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.2087, allocations: 0 / 0.9822 GB, free: 25.23 MB / 0.6198 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.0002956/0.209, allocations: 349.5 kB / 0.9825 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.209, allocations: 12.03 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.2091, allocations: 0.9375 kB / 0.9825 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.32e-05/0.2091, allocations: 164.3 kB / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.694e-06/0.2091, allocations: 384 / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.2092, allocations: 384 / 0.9827 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.441e-05/0.2092, allocations: 46.19 kB / 0.9827 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.2093, allocations: 4.125 kB / 0.9828 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.2093, allocations: 7.922 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.2093, allocations: 4 kB / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.142e-05/0.2093, allocations: 0 / 0.9828 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001035/0.2094, allocations: 153.7 kB / 0.9829 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.382e-05/0.2095, allocations: 18.61 kB / 0.9829 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.2095, allocations: 8.922 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.2095, allocations: 4 kB / 0.9829 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2095, allocations: 34.5 kB / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.2095, allocations: 0 / 0.983 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001107/0.2096, allocations: 49.62 kB / 0.983 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2097, allocations: 51.41 kB / 0.9831 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.011e-05/0.2097, allocations: 93.86 kB / 0.9832 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.2097, allocations: 33.89 kB / 0.9832 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.275e-05/0.2098, allocations: 84.14 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.2098, allocations: 3.906 kB / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.2098, allocations: 0 / 0.9833 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.862e-05/0.2098, allocations: 310.8 kB / 0.9836 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.142e-05/0.2098, allocations: 11.98 kB / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.334e-06/0.2099, allocations: 0 / 0.9836 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.226e-05/0.2099, allocations: 12.8 kB / 0.9836 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2099, allocations: 4 kB / 0.9836 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.073e-05/0.2099, allocations: 41.77 kB / 0.9836 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.21, allocations: 4 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.21, allocations: 3.938 kB / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.21, allocations: 0 / 0.9836 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.2101, allocations: 11.98 kB / 0.9837 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002189/0.2104, allocations: 0.5821 MB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.835e-05/0.2104, allocations: 4.125 kB / 0.9842 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.2104, allocations: 4.031 kB / 0.9842 GB, free: 22.9 MB / 0.6198 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 4.605e-05/0.2105, allocations: 117.8 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.972e-06/0.2105, allocations: 0 / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.233e-05/0.2106, allocations: 40.83 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2106, allocations: 0 / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2106, allocations: 8 kB / 0.9844 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.2106, allocations: 3.984 kB / 0.9844 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.464e-05/0.2106, allocations: 157.6 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2106, allocations: 4 kB / 0.9845 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.2107, allocations: 11.92 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2107, allocations: 4 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.2107, allocations: 0 / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001659/0.2109, allocations: 0.5782 MB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2109, allocations: 7.875 kB / 0.9851 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.285e-05/0.211, allocations: 69.19 kB / 0.9852 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.678e-05/0.211, allocations: 81.11 kB / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.033e-05/0.211, allocations: 0 / 0.9853 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.2111, allocations: 4 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.2111, allocations: 3.938 kB / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2111, allocations: 0 / 0.9853 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.815e-05/0.2111, allocations: 87.23 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2111, allocations: 4.094 kB / 0.9854 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001785/0.2113, allocations: 11.94 kB / 0.9854 GB, free: 21.6 MB / 0.6198 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.0001323/0.2114, allocations: 111.2 kB / 0.9855 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001411/0.2116, allocations: 16.03 kB / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2116, allocations: 0 / 0.9855 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.835e-05/0.2117, allocations: 19.98 kB / 0.9855 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.2118, allocations: 4.125 kB / 0.9855 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002777/0.2121, allocations: 115.1 kB / 0.9856 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.785e-05/0.2122, allocations: 0.6731 MB / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.693e-05/0.2122, allocations: 0 / 0.9863 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.095e-05/0.2122, allocations: 7.438 kB / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2123, allocations: 0 / 0.9863 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.00208/0.2143, allocations: 431.6 kB / 0.9867 GB, free: 20.21 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)