Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="IDEAS_dev_IDEAS_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.0008066/0.0008067, allocations: 90.91 kB / 15.36 MB, free: 0.7383 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.005119/0.005119, allocations: 172 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8534/0.8534, allocations: 135.3 MB / 426.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002862, allocations: 8 kB / 0.5077 GB, free: 4.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1829/0.1832, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001328/0.1845, allocations: 0.975 MB / 0.589 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.1857, allocations: 0.5857 MB / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.745e-05/0.1858, allocations: 0 / 0.5896 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.649e-05/0.1858, allocations: 7.938 kB / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.593e-05/0.1859, allocations: 0 / 0.5896 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005808/0.1865, allocations: 123.2 kB / 0.5897 GB, free: 0.8164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.727e-05/0.1865, allocations: 19.88 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.347e-05/0.1866, allocations: 0 / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.856e-05/0.1866, allocations: 4 kB / 0.5897 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.162e-05/0.1866, allocations: 3.984 kB / 0.5898 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.1867, allocations: 0 / 0.5898 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005904/0.1872, allocations: 351.3 kB / 0.5901 GB, free: 456 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.273e-05/0.1873, allocations: 0 / 0.5901 GB, free: 456 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.2e-05/0.1873, allocations: 29.64 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.1876, allocations: 140 kB / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1876, allocations: 0 / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1877, allocations: 0 / 0.5902 GB, free: 280 kB / 494.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.1877, allocations: 0 / 0.5902 GB, free: 280 kB / 494.1 MB 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.0004564/0.1881, allocations: 357.1 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.1882, allocations: 8.031 kB / 0.5906 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.1882, allocations: 30.75 kB / 0.5906 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.626e-05/0.1883, allocations: 8.844 kB / 0.5906 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.1884, allocations: 168.4 kB / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1884, allocations: 384 / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.1884, allocations: 384 / 0.5908 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.287e-05/0.1885, allocations: 33.64 kB / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1885, allocations: 0 / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.1886, allocations: 0 / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1886, allocations: 0 / 0.5908 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.939e-05/0.1886, allocations: 11.94 kB / 0.5908 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001726/0.1888, allocations: 153.7 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.305e-05/0.1888, allocations: 22.58 kB / 0.591 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.083e-05/0.1889, allocations: 8.922 kB / 0.591 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.609e-05/0.1889, allocations: 11.91 kB / 0.591 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.1889, allocations: 30.56 kB / 0.5911 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.189, allocations: 0 / 0.5911 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001434/0.1891, allocations: 45.64 kB / 0.5911 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.1891, allocations: 55.41 kB / 0.5912 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.441e-05/0.1892, allocations: 93.84 kB / 0.5912 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.1893, allocations: 25.7 kB / 0.5913 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.1893, allocations: 88.14 kB / 0.5914 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1893, allocations: 3.906 kB / 0.5914 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1894, allocations: 9.719 kB / 0.5914 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1895, allocations: 311.1 kB / 0.5917 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/0.1896, allocations: 8 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.005e-05/0.1896, allocations: 4 kB / 0.5917 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.1896, allocations: 8.859 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1896, allocations: 4 kB / 0.5917 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.195e-05/0.1897, allocations: 49.56 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.1897, allocations: 7.938 kB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1897, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1897, allocations: 0 / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.1899, allocations: 16.08 kB / 0.5918 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003945/0.1903, allocations: 0.5782 MB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.1903, allocations: 4.031 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.1903, allocations: 4 kB / 0.5923 GB, free: 13.89 MB / 0.4981 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 8.718e-05/0.1904, allocations: 109.8 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.1905, allocations: 7.938 kB / 0.5924 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.885e-05/0.1906, allocations: 48.81 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.1906, allocations: 4 kB / 0.5925 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1906, allocations: 3.938 kB / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1906, allocations: 0 / 0.5925 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.1907, allocations: 157.6 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.1908, allocations: 4 kB / 0.5926 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.1908, allocations: 4 kB / 0.5927 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.1909, allocations: 7.984 kB / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.1909, allocations: 0 / 0.5927 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003525/0.1912, allocations: 0.5898 MB / 0.5932 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1912, allocations: 0 / 0.5932 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.046e-05/0.1913, allocations: 61.16 kB / 0.5933 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.1913, allocations: 81.11 kB / 0.5934 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1914, allocations: 8.062 kB / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.403e-05/0.1914, allocations: 0 / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.013e-05/0.1914, allocations: 0 / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.1914, allocations: 0 / 0.5934 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.251e-05/0.1915, allocations: 83.28 kB / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1915, allocations: 0 / 0.5935 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001925/0.1917, allocations: 15.94 kB / 0.5935 GB, free: 12.59 MB / 0.4981 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.0003813/0.192, allocations: 0.6086 MB / 0.5941 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001436/0.1922, allocations: 23.92 kB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1922, allocations: 0 / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.1923, allocations: 19.92 kB / 0.5941 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001299/0.1924, allocations: 3.938 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004001/0.1928, allocations: 152.6 kB / 0.5943 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1931, allocations: 0.677 MB / 0.5949 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.587e-05/0.1931, allocations: 0 / 0.5949 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.362e-05/0.1931, allocations: 7.438 kB / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.1932, allocations: 0 / 0.5949 GB, free: 11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01241/0.2056, allocations: 1.148 MB / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.2058, allocations: 262.6 kB / 0.5963 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.613/1.818, allocations: 0 / 0.5963 GB, free: 9.777 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow.fmu > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)