Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.0009459/0.000946, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005807/0.005807, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.315/1.315, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 270.9 kB / 291.7 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9285/0.9285, allocations: 169.5 MB / 0.5004 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004505/0.0004507, allocations: 21.5 kB / 0.5988 GB, free: 27.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1787, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.001932/0.1807, allocations: 1.344 MB / 0.6866 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1827, allocations: 1.436 MB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1828, allocations: 3.938 kB / 0.688 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004365/0.1833, allocations: 47.83 kB / 0.688 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001552/0.1834, allocations: 51.25 kB / 0.6881 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002831/0.1837, allocations: 90.7 kB / 0.6881 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002097/0.184, allocations: 159.6 kB / 0.6883 GB, free: 11.83 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.184, allocations: 8.5 kB / 0.6883 GB, free: 11.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.052e-05/0.1841, allocations: 55.78 kB / 0.6884 GB, free: 11.77 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1843, allocations: 63.8 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1843, allocations: 7.938 kB / 0.6884 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1844, allocations: 59.97 kB / 0.6885 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.1845, allocations: 43.83 kB / 0.6885 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.849e-05/0.1846, allocations: 82.11 kB / 0.6886 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.1849, allocations: 183.4 kB / 0.6888 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1849, allocations: 0.5 kB / 0.6888 GB, free: 11.33 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1849, allocations: 4.531 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.1849, allocations: 2.406 kB / 0.6888 GB, free: 11.32 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005427/0.1855, allocations: 442.8 kB / 0.6892 GB, free: 10.84 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1855, allocations: 8.031 kB / 0.6892 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.1856, allocations: 42.69 kB / 0.6893 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.1856, allocations: 20.73 kB / 0.6893 GB, free: 10.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1859, allocations: 260.6 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.186, allocations: 5.656 kB / 0.6895 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.186, allocations: 7.938 kB / 0.6895 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000223/0.1862, allocations: 118.7 kB / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.031e-06/0.1862, allocations: 0 / 0.6897 GB, free: 10.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1863, allocations: 4 kB / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1863, allocations: 4 kB / 0.6897 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.1865, allocations: 139.8 kB / 0.6898 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.1867, allocations: 233.5 kB / 0.69 GB, free: 9.914 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003481/0.1871, allocations: 171.3 kB / 0.6902 GB, free: 9.738 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.1872, allocations: 62.25 kB / 0.6902 GB, free: 9.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.1872, allocations: 7.984 kB / 0.6902 GB, free: 9.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.1875, allocations: 104.7 kB / 0.6903 GB, free: 9.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1875, allocations: 0 / 0.6903 GB, free: 9.555 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004693/0.188, allocations: 230.2 kB / 0.6906 GB, free: 9.324 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.5e-05/0.188, allocations: 82.45 kB / 0.6906 GB, free: 9.227 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002072/0.1882, allocations: 206.9 kB / 0.6908 GB, free: 9.012 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1883, allocations: 29.7 kB / 0.6909 GB, free: 8.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.864e-05/0.1884, allocations: 112.8 kB / 0.691 GB, free: 8.863 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.1884, allocations: 47.44 kB / 0.691 GB, free: 8.816 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.1885, allocations: 25.7 kB / 0.691 GB, free: 8.785 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1886, allocations: 326.8 kB / 0.6914 GB, free: 8.457 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.1887, allocations: 47.97 kB / 0.6914 GB, free: 8.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.1888, allocations: 76.8 kB / 0.6915 GB, free: 8.328 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.189, allocations: 117 kB / 0.6916 GB, free: 8.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.189, allocations: 3.938 kB / 0.6916 GB, free: 8.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003027/0.1893, allocations: 197.4 kB / 0.6918 GB, free: 8.008 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.1894, allocations: 9.984 kB / 0.6918 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1894, allocations: 7.922 kB / 0.6918 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.1894, allocations: 0 / 0.6918 GB, free: 7.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1895, allocations: 31.94 kB / 0.6918 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1895, allocations: 3.984 kB / 0.6918 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.432e-05/0.1896, allocations: 7.938 kB / 0.6918 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.1896, allocations: 8 kB / 0.6918 GB, free: 7.941 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.1897, allocations: 139.1 kB / 0.692 GB, free: 7.797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.1898, allocations: 19.72 kB / 0.692 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.1898, allocations: 33.5 kB / 0.692 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1898, allocations: 0 / 0.692 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1898, allocations: 3.938 kB / 0.692 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1899, allocations: 0 / 0.692 GB, free: 7.742 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.1901, allocations: 245.5 kB / 0.6923 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1901, allocations: 0 / 0.6923 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.1901, allocations: 19.94 kB / 0.6923 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.1902, allocations: 0 / 0.6923 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.1902, allocations: 7.984 kB / 0.6923 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1902, allocations: 4 kB / 0.6923 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1902, allocations: 0 / 0.6923 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.1905, allocations: 208.8 kB / 0.6925 GB, free: 7.199 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.1906, allocations: 92.86 kB / 0.6926 GB, free: 7.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.303e-05/0.1906, allocations: 8 kB / 0.6926 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.1907, allocations: 7.984 kB / 0.6926 GB, free: 7.074 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-05/0.1907, allocations: 11.98 kB / 0.6926 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.1907, allocations: 8 kB / 0.6926 GB, free: 7.055 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001366/0.1909, allocations: 156.2 kB / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1909, allocations: 0 / 0.6928 GB, free: 6.902 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1911, allocations: 36 kB / 0.6928 GB, free: 6.867 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001516/0.1927, allocations: 1.093 MB / 0.6939 GB, free: 5.922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.1929, allocations: 127.9 kB / 0.694 GB, free: 5.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1929, allocations: 0 / 0.694 GB, free: 5.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1931, allocations: 63.91 kB / 0.6941 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.1933, allocations: 39.88 kB / 0.6941 GB, free: 5.699 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1955, allocations: 1.953 MB / 0.696 GB, free: 3.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.1958, allocations: 0.7283 MB / 0.6967 GB, free: 2.906 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001215/0.1959, allocations: 49.66 kB / 0.6968 GB, free: 2.859 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.756e-05/0.196, allocations: 59.41 kB / 0.6968 GB, free: 2.801 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.196, allocations: 0 / 0.6968 GB, free: 2.801 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.2128, allocations: 4.16 MB / 0.7009 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002332/0.2131, allocations: 285 kB / 0.7012 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/1.913, allocations: 0 / 0.7012 GB, free: 14.5 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData_fmu --startTime=0 --stopTime=603900 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)