Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 107.8 kB / 15.99 MB, free: 6.355 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.001083/0.001084, allocations: 196.8 kB / 16.91 MB, free: 6.191 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.347/1.347, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.661/1.661, allocations: 292.3 MB / 0.5492 GB, free: 13.62 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.001296/0.001296, allocations: 68.69 kB / 0.6716 GB, free: 26.35 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2098, allocations: 114.6 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002406/0.2123, allocations: 1.309 MB / 0.7848 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000891/0.2132, allocations: 0.585 MB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.157e-05/0.2132, allocations: 4 kB / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.2132, allocations: 0 / 0.7854 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.883e-05/0.2133, allocations: 3.938 kB / 0.7854 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004806/0.2138, allocations: 123.6 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.868e-05/0.2138, allocations: 11.92 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.2139, allocations: 0 / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.031e-05/0.2139, allocations: 11.94 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.329e-05/0.214, allocations: 3.984 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.327e-06/0.214, allocations: 4 kB / 0.7855 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.2144, allocations: 339.3 kB / 0.7859 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 8.035e-06/0.2144, allocations: 0 / 0.7859 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.2144, allocations: 15.92 kB / 0.7859 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.2146, allocations: 96.11 kB / 0.786 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2146, allocations: 0 / 0.786 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2146, allocations: 0 / 0.786 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.2146, allocations: 0 / 0.786 GB, free: 11.4 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.0003608/0.215, allocations: 343.5 kB / 0.7863 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.215, allocations: 12.03 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.2151, allocations: 4.844 kB / 0.7863 GB, free: 11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2152, allocations: 160.4 kB / 0.7865 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.2152, allocations: 4.375 kB / 0.7865 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.2152, allocations: 12.36 kB / 0.7865 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.326e-05/0.2153, allocations: 30.25 kB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.2153, allocations: 4.188 kB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.2153, allocations: 3.938 kB / 0.7865 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.2153, allocations: 0 / 0.7865 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.473e-05/0.2154, allocations: 7.938 kB / 0.7865 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.2155, allocations: 149.7 kB / 0.7867 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.848e-05/0.2156, allocations: 34.48 kB / 0.7867 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.2156, allocations: 8.859 kB / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2156, allocations: 0 / 0.7867 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2157, allocations: 34.62 kB / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 7.22e-07/0.2157, allocations: 0 / 0.7867 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001435/0.2158, allocations: 49.56 kB / 0.7868 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.2159, allocations: 51.41 kB / 0.7868 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.216, allocations: 97.98 kB / 0.7869 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.216, allocations: 25.7 kB / 0.7869 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.216, allocations: 80.14 kB / 0.787 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.216, allocations: 3.906 kB / 0.787 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.114e-05/0.2161, allocations: 21.7 kB / 0.787 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.2162, allocations: 310.8 kB / 0.7873 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.2162, allocations: 4 kB / 0.7873 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/0.2162, allocations: 4.125 kB / 0.7874 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.943e-05/0.2163, allocations: 12.86 kB / 0.7874 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2163, allocations: 4 kB / 0.7874 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.375e-05/0.2163, allocations: 41.62 kB / 0.7874 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2164, allocations: 4 kB / 0.7874 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2164, allocations: 3.938 kB / 0.7874 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.2164, allocations: 0 / 0.7874 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.2165, allocations: 8 kB / 0.7874 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003512/0.2169, allocations: 0.59 MB / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.2169, allocations: 0 / 0.788 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2169, allocations: 4.031 kB / 0.788 GB, free: 9.055 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 (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 6.949e-05/0.217, allocations: 113.7 kB / 0.7881 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.237e-06/0.217, allocations: 3.906 kB / 0.7881 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/0.2171, allocations: 52.89 kB / 0.7882 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2171, allocations: 0 / 0.7882 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2172, allocations: 4 kB / 0.7882 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.2172, allocations: 0 / 0.7882 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.2173, allocations: 157.6 kB / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2173, allocations: 0 / 0.7883 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.2174, allocations: 8 kB / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.2174, allocations: 4 kB / 0.7883 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.2174, allocations: 4 kB / 0.7883 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003094/0.2177, allocations: 0.5937 MB / 0.7889 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.2177, allocations: 3.938 kB / 0.7889 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.612e-05/0.2178, allocations: 57.17 kB / 0.789 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.2178, allocations: 77.11 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.2179, allocations: 4 kB / 0.7891 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.607e-05/0.2179, allocations: 3.984 kB / 0.7891 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.658e-05/0.2179, allocations: 12 kB / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.2179, allocations: 0 / 0.7891 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.213e-05/0.218, allocations: 79.28 kB / 0.7891 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.81e-07/0.218, allocations: 0 / 0.7891 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001968/0.2182, allocations: 19.94 kB / 0.7892 GB, free: 7.738 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 (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.00017/0.2183, allocations: 111.2 kB / 0.7893 GB, free: 7.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00017/0.2185, allocations: 20.08 kB / 0.7893 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2185, allocations: 0 / 0.7893 GB, free: 7.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.438e-05/0.2186, allocations: 11.98 kB / 0.7893 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.2188, allocations: 8 kB / 0.7893 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.2191, allocations: 130.9 kB / 0.7894 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2194, allocations: 0.6767 MB / 0.7901 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.2194, allocations: 11.56 kB / 0.7901 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2194, allocations: 0 / 0.7901 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of Templates: time 0.002175/0.2216, allocations: 0.6983 MB / 0.7908 GB, free: 6.012 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)