Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.001255/0.001255, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001559/0.001559, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.82/1.82, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005347/0.0005348, allocations: 14.81 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2063, allocations: 116.3 MB / 0.7874 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001379/0.2077, allocations: 0.9743 MB / 0.7884 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009278/0.2086, allocations: 0.5426 MB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.718e-05/0.2087, allocations: 0 / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.464e-05/0.2087, allocations: 3.938 kB / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.099e-05/0.2088, allocations: 0 / 0.7889 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005912/0.2094, allocations: 119.6 kB / 0.789 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.363e-05/0.2094, allocations: 11.92 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.2095, allocations: 4 kB / 0.789 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.2095, allocations: 4 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.2095, allocations: 0 / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.2095, allocations: 4 kB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004938/0.21, allocations: 339.3 kB / 0.7894 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.012e-06/0.2101, allocations: 0 / 0.7894 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.326e-05/0.2101, allocations: 25.7 kB / 0.7894 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.2103, allocations: 92.11 kB / 0.7895 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2103, allocations: 3.984 kB / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.253e-06/0.2103, allocations: 0 / 0.7895 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.2103, allocations: 4 kB / 0.7895 GB, free: 9.727 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.0003756/0.2107, allocations: 355.2 kB / 0.7898 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.2107, allocations: 8.031 kB / 0.7898 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.488e-05/0.2108, allocations: 34.56 kB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.16e-05/0.2108, allocations: 3.906 kB / 0.7899 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.2109, allocations: 163 kB / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-06/0.2109, allocations: 0 / 0.79 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.211, allocations: 4 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.2111, allocations: 33.69 kB / 0.79 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.2111, allocations: 4 kB / 0.79 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.474e-06/0.2111, allocations: 3.938 kB / 0.7901 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.2111, allocations: 4 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.503e-05/0.2111, allocations: 0 / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001774/0.2113, allocations: 161.6 kB / 0.7902 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.283e-05/0.2114, allocations: 18.61 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.2114, allocations: 8.922 kB / 0.7902 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.2114, allocations: 4 kB / 0.7902 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.2115, allocations: 34.56 kB / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.2115, allocations: 0 / 0.7903 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.2116, allocations: 45.62 kB / 0.7903 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.2117, allocations: 51.41 kB / 0.7904 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.2118, allocations: 97.86 kB / 0.7905 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2118, allocations: 25.7 kB / 0.7905 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.2118, allocations: 84.39 kB / 0.7906 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.431e-05/0.2119, allocations: 3.906 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-06/0.2119, allocations: 0 / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.212, allocations: 310.8 kB / 0.7909 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.212, allocations: 11.98 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.446e-06/0.212, allocations: 16 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.688e-05/0.2121, allocations: 4 kB / 0.7909 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2121, allocations: 3.953 kB / 0.7909 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.834e-05/0.2121, allocations: 41.77 kB / 0.7909 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.2122, allocations: 4 kB / 0.7909 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.2122, allocations: 7.938 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2122, allocations: 0 / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.2124, allocations: 19.94 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/0.2128, allocations: 0.5782 MB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.869e-05/0.2128, allocations: 0 / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.2129, allocations: 4.078 kB / 0.7915 GB, free: 7.375 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 (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 7.848e-05/0.2129, allocations: 114.5 kB / 0.7916 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.748e-06/0.213, allocations: 3.984 kB / 0.7916 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.2131, allocations: 48.67 kB / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.2131, allocations: 0 / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2131, allocations: 0 / 0.7917 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.2131, allocations: 4 kB / 0.7917 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.2132, allocations: 157.6 kB / 0.7918 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2133, allocations: 4.031 kB / 0.7918 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.2133, allocations: 11.98 kB / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.2133, allocations: 0 / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.2134, allocations: 0 / 0.7919 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003292/0.2137, allocations: 0.5782 MB / 0.7924 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.2137, allocations: 3.984 kB / 0.7924 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001097/0.2138, allocations: 77.09 kB / 0.7925 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.647e-05/0.2139, allocations: 77.11 kB / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.2139, allocations: 0 / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/0.2139, allocations: 0 / 0.7926 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.219e-05/0.214, allocations: 7.953 kB / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.214, allocations: 0 / 0.7926 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.439e-05/0.214, allocations: 83.27 kB / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.6e-07/0.214, allocations: 0 / 0.7927 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003621/0.2144, allocations: 20.06 kB / 0.7927 GB, free: 6.066 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 (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.0005286/0.2149, allocations: 0.6046 MB / 0.7933 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001641/0.2151, allocations: 15.98 kB / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2151, allocations: 96 / 0.7933 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.2152, allocations: 19.98 kB / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.2154, allocations: 6.438 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.2159, allocations: 158.8 kB / 0.7935 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002758/0.2162, allocations: 0.6731 MB / 0.7941 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.807e-05/0.2162, allocations: 4.062 kB / 0.7941 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.2162, allocations: 7.438 kB / 0.7941 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2162, allocations: 0 / 0.7941 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.2284, allocations: 1.154 MB / 0.7953 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.2287, allocations: 255.3 kB / 0.7955 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.745/1.974, allocations: 3.375 kB / 0.7955 GB, free: 3.223 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_8_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1) Environment - environmentSimulation: