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.001065/0.001065, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.673/1.673, allocations: 292.3 MB / 0.5489 GB, free: 12.78 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.00144/0.00144, allocations: 67.88 kB / 0.6716 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1804, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002907/0.1834, allocations: 1.248 MB / 0.7847 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001047/0.1844, allocations: 0.5877 MB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.1845, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.82e-05/0.1845, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.229e-05/0.1846, allocations: 3.938 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005503/0.1851, allocations: 146.5 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.53e-05/0.1852, allocations: 8 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.746e-05/0.1852, allocations: 7.984 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.99e-05/0.1852, allocations: 7.922 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.021e-05/0.1853, allocations: 4 kB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.1853, allocations: 0 / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005876/0.1859, allocations: 339.3 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.1859, allocations: 7.984 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.094e-05/0.1859, allocations: 3.938 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002605/0.1862, allocations: 140 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1862, allocations: 4 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1862, allocations: 0 / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1862, allocations: 0 / 0.7859 GB, free: 10.85 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.0004016/0.1866, allocations: 355.4 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.1867, allocations: 12.03 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.925e-05/0.1867, allocations: 30.75 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.1868, allocations: 4.844 kB / 0.7863 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.1869, allocations: 160.4 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.909e-06/0.1869, allocations: 384 / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.327e-06/0.1869, allocations: 12.31 kB / 0.7865 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.781e-05/0.187, allocations: 34.25 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.187, allocations: 3.938 kB / 0.7865 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.187, allocations: 4 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.187, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.547e-05/0.1871, allocations: 0 / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001504/0.1872, allocations: 153.7 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.1873, allocations: 22.61 kB / 0.7867 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.1873, allocations: 16.86 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1873, allocations: 4 kB / 0.7867 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/0.1874, allocations: 34.56 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.1874, allocations: 0 / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.1875, allocations: 41.62 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.1875, allocations: 51.41 kB / 0.7868 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.1876, allocations: 105.9 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1876, allocations: 25.7 kB / 0.7869 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.604e-05/0.1877, allocations: 80.14 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.097e-05/0.1877, allocations: 3.906 kB / 0.787 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.1877, allocations: 17.72 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1879, allocations: 314.8 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.1879, allocations: 7.938 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.445e-06/0.1879, allocations: 0 / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.864e-05/0.1879, allocations: 17.05 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1879, allocations: 0 / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.246e-05/0.188, allocations: 37.7 kB / 0.7874 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.188, allocations: 7.938 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.188, allocations: 3.984 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.1881, allocations: 0 / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.1882, allocations: 11.94 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004544/0.1887, allocations: 0.586 MB / 0.788 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.002e-05/0.1887, allocations: 4 kB / 0.788 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-06/0.1887, allocations: 4.031 kB / 0.788 GB, free: 8.457 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 7.939e-05/0.1888, allocations: 116.6 kB / 0.7881 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.1888, allocations: 3.906 kB / 0.7881 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.1889, allocations: 48.8 kB / 0.7882 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.1889, allocations: 8.062 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.189, allocations: 0 / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.189, allocations: 7.984 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.1891, allocations: 149.6 kB / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1891, allocations: 0 / 0.7883 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.321e-05/0.1892, allocations: 13.05 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1892, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.1892, allocations: 8 kB / 0.7883 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003702/0.1896, allocations: 0.5821 MB / 0.7889 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.1896, allocations: 3.938 kB / 0.7889 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.819e-05/0.1897, allocations: 65.09 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.1897, allocations: 77.11 kB / 0.789 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1897, allocations: 4 kB / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.455e-05/0.1897, allocations: 0 / 0.789 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.35e-05/0.1898, allocations: 7.922 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.1898, allocations: 4.125 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.1898, allocations: 79.28 kB / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1898, allocations: 0 / 0.7891 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000202/0.19, allocations: 11.94 kB / 0.7891 GB, free: 7.152 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.0003804/0.1904, allocations: 0.6165 MB / 0.7897 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001764/0.1906, allocations: 19.92 kB / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1906, allocations: 0 / 0.7898 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.703e-05/0.1907, allocations: 19.98 kB / 0.7898 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.1908, allocations: 3.938 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.1913, allocations: 139.7 kB / 0.7899 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.1916, allocations: 0.6768 MB / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.559e-05/0.1916, allocations: 0 / 0.7906 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.1916, allocations: 7.438 kB / 0.7906 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.1916, allocations: 3.938 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.2105, allocations: 1.334 MB / 0.7919 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.22, allocations: 3.531 kB / 0.7919 GB, free: 4.41 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/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)