Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.716/1.716, allocations: 287.5 MB / 302.6 MB, free: 8.359 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.0009872/0.0009872, allocations: 174.6 kB / 371.2 MB, free: 10.84 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.6298 GB, free: 10.55 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.0008072/0.0008071, allocations: 92.16 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003919/0.0003919, allocations: 12.19 kB / 0.8661 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.197, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.001203/0.1983, allocations: 0.9743 MB / 0.9796 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007173/0.199, allocations: 0.5338 MB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.199, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.1991, allocations: 0 / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.1991, allocations: 3.984 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.1997, allocations: 121.7 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.245e-05/0.1998, allocations: 7.938 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.344e-05/0.1999, allocations: 3.984 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.323e-05/0.1999, allocations: 7.984 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.987e-05/0.1999, allocations: 0 / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2, allocations: 4 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.2004, allocations: 335.3 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.328e-05/0.2005, allocations: 0 / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.646e-05/0.2005, allocations: 33.64 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.2007, allocations: 92.05 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2007, allocations: 0 / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2007, allocations: 4 kB / 0.9807 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2008, allocations: 0 / 0.9807 GB, free: 26.09 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.0004155/0.2012, allocations: 347.5 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2012, allocations: 12.03 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.411e-05/0.2013, allocations: 4.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.819e-05/0.2014, allocations: 168.3 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2014, allocations: 4.375 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2014, allocations: 384 / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.2015, allocations: 30.27 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.2015, allocations: 192 / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.2016, allocations: 7.938 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2016, allocations: 3.938 kB / 0.9813 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3e-05/0.2016, allocations: 11.92 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.2018, allocations: 149.7 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.639e-05/0.2018, allocations: 26.59 kB / 0.9815 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.974e-05/0.2018, allocations: 8.922 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.047e-05/0.2019, allocations: 3.984 kB / 0.9815 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.2019, allocations: 30.56 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.2019, allocations: 0 / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.2021, allocations: 49.58 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.2021, allocations: 51.41 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.565e-05/0.2022, allocations: 102 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.2022, allocations: 29.7 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.385e-05/0.2022, allocations: 80.14 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-05/0.2022, allocations: 3.906 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.2022, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.281e-05/0.2023, allocations: 314.8 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-06/0.2023, allocations: 4 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-06/0.2023, allocations: 4 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.2023, allocations: 13.05 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2023, allocations: 4 kB / 0.9821 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.53e-05/0.2024, allocations: 45.62 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.2024, allocations: 6.656 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2024, allocations: 3.938 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.2024, allocations: 0 / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.2026, allocations: 11.98 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002584/0.2029, allocations: 0.586 MB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.941e-05/0.2029, allocations: 0 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-06/0.2029, allocations: 4.031 kB / 0.9828 GB, free: 23.75 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 5.775e-05/0.203, allocations: 116 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.203, allocations: 0 / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001088/0.2031, allocations: 48.75 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2031, allocations: 4.125 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.2032, allocations: 4 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2032, allocations: 0 / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.361e-05/0.2032, allocations: 161.5 kB / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.2032, allocations: 0 / 0.9831 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-05/0.2033, allocations: 8 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2033, allocations: 4 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2033, allocations: 3.984 kB / 0.9831 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002004/0.2036, allocations: 0.586 MB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2036, allocations: 3.938 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.772e-05/0.2036, allocations: 57.17 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.105e-05/0.2037, allocations: 89.03 kB / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.2037, allocations: 0 / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.386e-05/0.2037, allocations: 0 / 0.9838 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.2037, allocations: 8.062 kB / 0.9838 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.2037, allocations: 8 kB / 0.9838 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.951e-05/0.2038, allocations: 79.28 kB / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.2038, allocations: 0 / 0.9839 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001936/0.204, allocations: 11.94 kB / 0.9839 GB, free: 22.45 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.0001669/0.2041, allocations: 111.2 kB / 0.984 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001679/0.2043, allocations: 23.92 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2043, allocations: 4.156 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.64e-05/0.2044, allocations: 16.86 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001445/0.2046, allocations: 4 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.2049, allocations: 111.2 kB / 0.9842 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.772e-05/0.205, allocations: 0.6731 MB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.819e-05/0.205, allocations: 4.062 kB / 0.9848 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.2051, allocations: 11.44 kB / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.2051, allocations: 0 / 0.9849 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of Templates: time 0.002326/0.2074, allocations: 413.5 kB / 0.9852 GB, free: 21.04 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)