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: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001943/0.001943, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.396/1.396, allocations: 205.1 MB / 222 MB, free: 4.766 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.693/1.693, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.001404/0.001404, allocations: 67.56 kB / 0.6709 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2107, allocations: 114.5 MB / 0.7828 GB, free: 13.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002493/0.2132, allocations: 1.317 MB / 0.7841 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009637/0.2142, allocations: 0.6045 MB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.499e-05/0.2142, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.2142, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.064e-05/0.2143, allocations: 11.86 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2147, allocations: 123.6 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.339e-05/0.2147, allocations: 7.938 kB / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.2148, allocations: 0 / 0.7848 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.776e-05/0.2148, allocations: 4 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.62e-05/0.2148, allocations: 4 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.2149, allocations: 4 kB / 0.7848 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004595/0.2153, allocations: 343.3 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.2154, allocations: 11.92 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.962e-05/0.2154, allocations: 0 / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.2156, allocations: 143.9 kB / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2156, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2156, allocations: 0 / 0.7853 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2157, allocations: 0 / 0.7853 GB, free: 11.31 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.0004053/0.2161, allocations: 347.5 kB / 0.7856 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.2161, allocations: 12.03 kB / 0.7856 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.441e-05/0.2162, allocations: 30.75 kB / 0.7857 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.635e-05/0.2162, allocations: 4.844 kB / 0.7857 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.2163, allocations: 168.4 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.2163, allocations: 4.375 kB / 0.7858 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2163, allocations: 4.359 kB / 0.7858 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.153e-05/0.2164, allocations: 34.2 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.2165, allocations: 3.938 kB / 0.7859 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.2165, allocations: 8 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.2165, allocations: 0 / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.2165, allocations: 4 kB / 0.7859 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.2167, allocations: 149.7 kB / 0.786 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.542e-05/0.2167, allocations: 22.61 kB / 0.7861 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.2167, allocations: 8.859 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.2168, allocations: 8.047 kB / 0.7861 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.2168, allocations: 38.5 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2168, allocations: 0 / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.2169, allocations: 45.62 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.217, allocations: 51.41 kB / 0.7862 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.595e-05/0.2171, allocations: 93.86 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2171, allocations: 25.7 kB / 0.7863 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.2171, allocations: 80.14 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.2171, allocations: 12.16 kB / 0.7864 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.2172, allocations: 17.7 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.2173, allocations: 310.8 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.254e-05/0.2173, allocations: 7.938 kB / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.715e-06/0.2173, allocations: 0 / 0.7867 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.2173, allocations: 24.73 kB / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2173, allocations: 0 / 0.7867 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.831e-05/0.2174, allocations: 41.69 kB / 0.7868 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.2174, allocations: 12.03 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2174, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.2174, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.2176, allocations: 8 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003255/0.2179, allocations: 0.586 MB / 0.7874 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.038e-05/0.218, allocations: 4.031 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.218, allocations: 0 / 0.7874 GB, free: 8.914 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.161e-05/0.218, allocations: 113.9 kB / 0.7875 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.846e-06/0.218, allocations: 3.906 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001062/0.2182, allocations: 44.81 kB / 0.7875 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2182, allocations: 4 kB / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2182, allocations: 0 / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-06/0.2182, allocations: 0 / 0.7875 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.311e-05/0.2183, allocations: 157.6 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.2183, allocations: 0 / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.2184, allocations: 12.03 kB / 0.7877 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2184, allocations: 3.938 kB / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.2184, allocations: 0 / 0.7877 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002781/0.2187, allocations: 0.5821 MB / 0.7883 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.2187, allocations: 3.938 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.686e-05/0.2187, allocations: 61.27 kB / 0.7883 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.573e-05/0.2188, allocations: 81.11 kB / 0.7884 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.2188, allocations: 3.984 kB / 0.7884 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.551e-05/0.2188, allocations: 7.938 kB / 0.7884 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.2188, allocations: 3.938 kB / 0.7884 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.2189, allocations: 0 / 0.7884 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.005e-05/0.2189, allocations: 83.28 kB / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2189, allocations: 0 / 0.7885 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000189/0.2191, allocations: 16.06 kB / 0.7885 GB, free: 7.613 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.0003688/0.2195, allocations: 0.6047 MB / 0.7891 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.2196, allocations: 27.86 kB / 0.7891 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2196, allocations: 0 / 0.7891 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.801e-05/0.2197, allocations: 16.09 kB / 0.7892 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.2199, allocations: 7.922 kB / 0.7892 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.2203, allocations: 137.9 kB / 0.7893 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2205, allocations: 0.6731 MB / 0.79 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.581e-05/0.2205, allocations: 0 / 0.79 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.2206, allocations: 11.5 kB / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.2206, allocations: 0 / 0.79 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01193/0.2325, allocations: 1.205 MB / 0.7911 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/0.2328, allocations: 266.8 kB / 0.7914 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/1.835, allocations: 7.375 kB / 0.7914 GB, free: 4.672 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)