Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 288.4 MB / 303.3 MB, free: 8.113 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.0009083/0.0009084, allocations: 184.4 kB / 372 MB, free: 10.28 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.374/1.374, allocations: 205.4 MB / 0.6307 GB, free: 10.02 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.0008231/0.000823, allocations: 96.67 kB / 0.744 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 18.98 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1794, allocations: 115.3 MB / 0.9796 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001079/0.1805, allocations: 0.9629 MB / 0.9806 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007295/0.1813, allocations: 0.5424 MB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.1813, allocations: 0 / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.1814, allocations: 0 / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.476e-05/0.1814, allocations: 7.922 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.182, allocations: 119.6 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.153e-05/0.182, allocations: 11.94 kB / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.786e-05/0.182, allocations: 0 / 0.9812 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.545e-05/0.1821, allocations: 4 kB / 0.9813 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.869e-05/0.1821, allocations: 4 kB / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.328e-06/0.1821, allocations: 0 / 0.9813 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000392/0.1825, allocations: 335.3 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.484e-06/0.1825, allocations: 0 / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.022e-05/0.1826, allocations: 41.62 kB / 0.9816 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001679/0.1827, allocations: 88.11 kB / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1828, allocations: 0 / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1828, allocations: 0 / 0.9817 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.1828, allocations: 0 / 0.9817 GB, free: 25.47 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.0003148/0.1831, allocations: 355.3 kB / 0.982 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.1831, allocations: 12.02 kB / 0.982 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.1832, allocations: 30.56 kB / 0.9821 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.191e-05/0.1832, allocations: 3.906 kB / 0.9821 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.607e-05/0.1833, allocations: 171 kB / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.1833, allocations: 0 / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.797e-06/0.1833, allocations: 0 / 0.9822 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.682e-05/0.1834, allocations: 37.67 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.1834, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.822e-06/0.1834, allocations: 4 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1834, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.317e-05/0.1834, allocations: 8 kB / 0.9823 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.1836, allocations: 153.7 kB / 0.9824 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.761e-05/0.1836, allocations: 26.52 kB / 0.9825 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.502e-05/0.1836, allocations: 8.922 kB / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1836, allocations: 0 / 0.9825 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.1837, allocations: 38.56 kB / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1837, allocations: 0 / 0.9825 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000117/0.1838, allocations: 41.69 kB / 0.9826 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.952e-05/0.1838, allocations: 55.34 kB / 0.9826 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.225e-05/0.1839, allocations: 97.8 kB / 0.9827 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-06/0.1839, allocations: 29.7 kB / 0.9827 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.333e-05/0.1839, allocations: 80.14 kB / 0.9828 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.861e-05/0.1839, allocations: 12.16 kB / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-06/0.1839, allocations: 0 / 0.9828 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.963e-05/0.184, allocations: 318.8 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.848e-06/0.184, allocations: 0 / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.184, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.566e-05/0.184, allocations: 8 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.184, allocations: 3.953 kB / 0.9831 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.31e-05/0.1841, allocations: 33.7 kB / 0.9832 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.1841, allocations: 4.094 kB / 0.9832 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1841, allocations: 7.984 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.1841, allocations: 0 / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1843, allocations: 8 kB / 0.9832 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000228/0.1845, allocations: 0.5821 MB / 0.9838 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.119e-05/0.1846, allocations: 8.031 kB / 0.9838 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1846, allocations: 3.953 kB / 0.9838 GB, free: 23.11 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.404e-05/0.1846, allocations: 113.9 kB / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-06/0.1847, allocations: 0 / 0.9839 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001028/0.1848, allocations: 48.72 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1848, allocations: 7.938 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1848, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1848, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.333e-05/0.1849, allocations: 145.6 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1849, allocations: 4 kB / 0.9841 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.1849, allocations: 12.02 kB / 0.9841 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.185, allocations: 8.031 kB / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-06/0.185, allocations: 0 / 0.9841 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001602/0.1851, allocations: 0.5821 MB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.1851, allocations: 3.953 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.089e-05/0.1852, allocations: 69.19 kB / 0.9847 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.658e-05/0.1852, allocations: 81.11 kB / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-06/0.1852, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.468e-05/0.1853, allocations: 0 / 0.9848 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.1853, allocations: 11.88 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-06/0.1853, allocations: 0 / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.539e-05/0.1853, allocations: 79.28 kB / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1853, allocations: 0 / 0.9849 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001908/0.1855, allocations: 15.94 kB / 0.9849 GB, free: 21.82 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.000243/0.1858, allocations: 0.6048 MB / 0.9855 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001427/0.1859, allocations: 19.92 kB / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1859, allocations: 0 / 0.9855 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.186, allocations: 20.08 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.1861, allocations: 7.938 kB / 0.9855 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000345/0.1865, allocations: 144.7 kB / 0.9857 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.779e-05/0.1866, allocations: 0.6731 MB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.684e-05/0.1866, allocations: 0 / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.989e-05/0.1866, allocations: 11.5 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1866, allocations: 0 / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.1983, allocations: 1.187 MB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000141/0.1985, allocations: 266.8 kB / 0.9878 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.671, allocations: 0 / 0.9878 GB, free: 18.96 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)