Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_7_0_x_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_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.283/1.283, allocations: 251.5 MB / 266.7 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000904/0.000904, allocations: 174.2 kB / 325.8 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006923/0.0006922, allocations: 85.8 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002719/0.000272, allocations: 12.25 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1546, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00108/0.1557, allocations: 0.9978 MB / 0.8972 GB, free: 67.04 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001086/0.1568, allocations: 0.6011 MB / 0.8978 GB, free: 66.44 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.67e-05/0.1569, allocations: 4 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.1569, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.956e-05/0.157, allocations: 0 / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.1576, allocations: 115.6 kB / 0.8979 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.189e-05/0.1576, allocations: 19.92 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.1577, allocations: 0 / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.883e-05/0.1577, allocations: 4 kB / 0.8979 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.084e-05/0.1577, allocations: 7.984 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.1578, allocations: 3.938 kB / 0.8979 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005801/0.1584, allocations: 343.3 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.598e-06/0.1584, allocations: 4 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.929e-05/0.1584, allocations: 0 / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.1587, allocations: 147.9 kB / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1587, allocations: 0 / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1587, allocations: 0 / 0.8984 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.1587, allocations: 0 / 0.8984 GB, free: 65.8 MB / 0.6042 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.0002847/0.159, allocations: 343.5 kB / 0.8987 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1591, allocations: 12.03 kB / 0.8987 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.1591, allocations: 30.75 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.1592, allocations: 0.9375 kB / 0.8988 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.012e-05/0.1592, allocations: 168.4 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1593, allocations: 384 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-06/0.1593, allocations: 384 / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.187e-05/0.1594, allocations: 34.2 kB / 0.899 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1594, allocations: 7.875 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.1594, allocations: 4 kB / 0.899 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.1594, allocations: 7.984 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.147e-05/0.1595, allocations: 4 kB / 0.899 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001238/0.1596, allocations: 153.7 kB / 0.8991 GB, free: 64.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.915e-05/0.1597, allocations: 18.58 kB / 0.8991 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.059e-05/0.1597, allocations: 8.922 kB / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1597, allocations: 0 / 0.8991 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.1597, allocations: 38.5 kB / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.1597, allocations: 0 / 0.8992 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.1599, allocations: 45.62 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.979e-05/0.1599, allocations: 55.41 kB / 0.8993 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.16, allocations: 97.8 kB / 0.8994 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-06/0.16, allocations: 25.7 kB / 0.8994 GB, free: 64.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.512e-05/0.16, allocations: 84.14 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.1601, allocations: 7.891 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.1601, allocations: 13.97 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.1602, allocations: 310.8 kB / 0.8998 GB, free: 64.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.602e-05/0.1602, allocations: 8 kB / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.012e-05/0.1602, allocations: 0 / 0.8998 GB, free: 64.12 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.239e-05/0.1602, allocations: 12.8 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1603, allocations: 4 kB / 0.8998 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.844e-05/0.1603, allocations: 41.69 kB / 0.8999 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1604, allocations: 7.938 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1604, allocations: 4.094 kB / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1604, allocations: 0 / 0.8999 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1606, allocations: 8 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002598/0.1609, allocations: 0.5898 MB / 0.9005 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.1609, allocations: 3.938 kB / 0.9005 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1609, allocations: 4.031 kB / 0.9005 GB, free: 63.42 MB / 0.6042 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.094e-05/0.161, allocations: 113.9 kB / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.161, allocations: 0 / 0.9006 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1611, allocations: 48.81 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1611, allocations: 4 kB / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1611, allocations: 0 / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1612, allocations: 0 / 0.9006 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.624e-05/0.1612, allocations: 149.6 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1612, allocations: 4 kB / 0.9008 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.97e-05/0.1614, allocations: 7.938 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.1614, allocations: 8.031 kB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1614, allocations: 0 / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002041/0.1616, allocations: 0.586 MB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1616, allocations: 7.875 kB / 0.9014 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.022e-05/0.1617, allocations: 65.17 kB / 0.9014 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.493e-05/0.1617, allocations: 85.05 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1617, allocations: 3.984 kB / 0.9015 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/0.1618, allocations: 4 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.632e-05/0.1618, allocations: 3.938 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.1618, allocations: 3.938 kB / 0.9015 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.703e-05/0.1618, allocations: 79.28 kB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1619, allocations: 0 / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003121/0.1622, allocations: 12 kB / 0.9016 GB, free: 62.12 MB / 0.6042 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.0002786/0.1625, allocations: 0.6087 MB / 0.9022 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001778/0.1627, allocations: 27.92 kB / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1627, allocations: 0 / 0.9022 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1628, allocations: 16.12 kB / 0.9022 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.163, allocations: 13.44 kB / 0.9023 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.1635, allocations: 136.4 kB / 0.9024 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.198e-05/0.1636, allocations: 0.677 MB / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.1636, allocations: 0 / 0.903 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.1636, allocations: 11.5 kB / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of SimCode: time 3.81e-07/0.1636, allocations: 0 / 0.9031 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/0.3189, allocations: 1.154 MB / 0.9042 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001751/0.3191, allocations: 290.3 kB / 0.9045 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.128/2.447, allocations: 7.938 kB / 0.9045 GB, free: 59.23 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)